mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Added configure thingy to detect presence of runtime.h. Autoconf stuff by Wonfgang Lux.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28730 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d30b738105
commit
1c08b79f6a
4 changed files with 10361 additions and 9699 deletions
|
@ -220,6 +220,9 @@
|
|||
/* Define to 1 if you have the <objc/objc.h> header file. */
|
||||
#undef HAVE_OBJC_OBJC_H
|
||||
|
||||
/* Define to 1 if you have the <objc/runtime.h> header file. */
|
||||
#undef HAVE_OBJC_RUNTIME_H
|
||||
|
||||
/* Define to 1 if you have the `objc_sync_enter' function. */
|
||||
#undef HAVE_OBJC_SYNC_ENTER
|
||||
|
||||
|
@ -483,34 +486,34 @@
|
|||
/* Define as the link to exe of process in /proc filesystem. */
|
||||
#undef PROCFS_EXE_LINK
|
||||
|
||||
/* Define if objc runtime creates joinable threads */
|
||||
#undef PTHREAD_JOINABLE
|
||||
|
||||
/* Define to 1 if the `setpgrp' function takes no argument. */
|
||||
#undef SETPGRP_VOID
|
||||
|
||||
/* The size of a `double', as computed by sizeof. */
|
||||
/* The size of `double', as computed by sizeof. */
|
||||
#undef SIZEOF_DOUBLE
|
||||
|
||||
/* The size of a `float', as computed by sizeof. */
|
||||
/* The size of `float', as computed by sizeof. */
|
||||
#undef SIZEOF_FLOAT
|
||||
|
||||
/* The size of a `int', as computed by sizeof. */
|
||||
/* The size of `int', as computed by sizeof. */
|
||||
#undef SIZEOF_INT
|
||||
|
||||
/* The size of a `long', as computed by sizeof. */
|
||||
/* The size of `long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG
|
||||
|
||||
/* The size of a `long long', as computed by sizeof. */
|
||||
/* The size of `long long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG_LONG
|
||||
|
||||
/* The size of a `pthread_mutex_t', as computed by sizeof. */
|
||||
/* The size of `pthread_cond_t', as computed by sizeof. */
|
||||
#undef SIZEOF_PTHREAD_COND_T
|
||||
|
||||
/* The size of `pthread_mutex_t', as computed by sizeof. */
|
||||
#undef SIZEOF_PTHREAD_MUTEX_T
|
||||
|
||||
/* The size of a `short', as computed by sizeof. */
|
||||
/* The size of `short', as computed by sizeof. */
|
||||
#undef SIZEOF_SHORT
|
||||
|
||||
/* The size of a `void*', as computed by sizeof. */
|
||||
/* The size of `void*', as computed by sizeof. */
|
||||
#undef SIZEOF_VOIDP
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
|
@ -528,9 +531,13 @@
|
|||
/* Define if vsprintf returns the length printed */
|
||||
#undef VSPRINTF_RETURNS_LENGTH
|
||||
|
||||
/* Define to 1 if your processor stores words with the most significant byte
|
||||
first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
#undef WORDS_BIGENDIAN
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
#if defined __BIG_ENDIAN__
|
||||
# define WORDS_BIGENDIAN 1
|
||||
#elif ! defined __LITTLE_ENDIAN__
|
||||
# undef WORDS_BIGENDIAN
|
||||
#endif
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
|
@ -538,5 +545,5 @@
|
|||
#undef inline
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
|
|
@ -29,9 +29,11 @@
|
|||
#import "GSInvocation.h"
|
||||
#import <config.h>
|
||||
#import <objc/objc-api.h>
|
||||
#if HAVE_OBJC_RUNTIME_H
|
||||
// FIXME: We should be using the new interfaces, not exposing the old ones.
|
||||
#define __OBJC_LEGACY_GNU_MODE__
|
||||
#import <objc/runtime.h>
|
||||
# define __OBJC_LEGACY_GNU_MODE__
|
||||
# import <objc/runtime.h>
|
||||
#endif
|
||||
#import <pthread.h>
|
||||
#import "cifframe.h"
|
||||
#import "mframe.h"
|
||||
|
|
|
@ -254,6 +254,7 @@ fi
|
|||
#--------------------------------------------------------------------
|
||||
# Check if Objective-C is installed
|
||||
#--------------------------------------------------------------------
|
||||
AC_CHECK_HEADERS(objc/runtime.h)
|
||||
AC_CHECK_HEADERS(objc/objc.h)
|
||||
if test $ac_cv_header_objc_objc_h = no; then
|
||||
echo "Check to make sure you have a full installation of the GCC"
|
||||
|
|
Loading…
Reference in a new issue