X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fconfig.h.in;h=f32e8909fdf7c379862b4294366a1316d05ed0d1;hb=ee38d21b330f5001b47a577cefb5ba7b82a3b7d3;hp=feb9e47ca08eaceff218140ccdf475572088864f;hpb=1cc5b779cb8755e01e02aead4fba711c06158b90;p=chise%2Fxemacs-chise.git.1 diff --git a/src/config.h.in b/src/config.h.in index feb9e47..f32e890 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -32,11 +32,18 @@ Boston, MA 02111-1307, USA. */ #undef HAVE_ALLOCA_H #ifndef NOT_C_CODE -#ifdef __GNUC__ +#if defined (__CYGWIN__) +/* We get complaints about redefinitions if we just use the __GNUC__ + definition: stdlib.h also includes alloca.h, which defines it slightly + differently */ +#include +#elif defined (__GNUC__) #define alloca __builtin_alloca #elif defined __DECC #include #pragma intrinsic(alloca) +#elif defined __INTEL_COMPILER && defined HAVE_ALLOCA_H +/* defer #include to end of file */ #elif defined HAVE_ALLOCA_H #include #elif defined(_AIX) @@ -86,7 +93,10 @@ void *alloca (); #undef _XOPEN_SOURCE_EXTENDED /* Make all functions available on AIX. See AC_AIX. */ +/* Some AIX compilers (cc) pre-define _ALL_SOURCE, some (xlc) don't. */ +#ifndef _ALL_SOURCE #undef _ALL_SOURCE +#endif /* Make all functions available on GNU libc systems. See features.h. */ #undef _GNU_SOURCE @@ -133,6 +143,9 @@ void *alloca (); /* Use a debugging malloc? -- experimental */ #undef USE_DEBUG_MALLOC +/* Use malloc for regex failure stack? */ +#undef REGEX_MALLOC + /* Compile in TTY support? */ #undef HAVE_TTY @@ -165,8 +178,16 @@ void *alloca (); #endif #endif /* HAVE_X_WINDOWS */ +/* Defines for building Gtk applications */ +#undef HAVE_GNOME +#undef HAVE_GTK +#undef HAVE_GDK_IMLIB_INIT +#undef HAVE_GLADE_GLADE_H +#undef HAVE_GLADE_H +#undef LIBGLADE_XML_TXTDOMAIN + /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ -#if defined (HAVE_X_WINDOWS) || defined(HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */ +#if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) || defined(HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */ #define HAVE_WINDOW_SYSTEM #endif @@ -244,6 +265,8 @@ void *alloca (); #undef HAVE_SHL_LOAD #undef HAVE_DLD_INIT #undef HAVE_SHLIB +#undef HAVE_DYLD +#undef DLSYM_NEEDS_UNDERSCORE #undef HAVE_LIBINTL #undef HAVE_LIBDNET @@ -366,6 +389,9 @@ void *alloca (); #undef NLIST_STRUCT +/* Do IPv6 hostname canonicalization before IPv4 in getaddrinfo()? */ +#undef IPV6_CANONICALIZE + /* Compile in support for SOCKS? */ #undef HAVE_SOCKS @@ -798,6 +824,8 @@ on various systems. */ #undef SIZEOF_LONG_LONG #undef SIZEOF_VOID_P +#undef INTPTR_T_IN_CYGWIN_TYPES_H + #ifndef BITS_PER_CHAR #define BITS_PER_CHAR 8 #endif @@ -887,4 +915,12 @@ on various systems. */ #undef PDUMP +#ifndef NOT_C_CODE +#if defined __INTEL_COMPILER && defined HAVE_ALLOCA_H +/* icc's alloca.h pulls in , + but that must be done after _GNU_SOURCE and friends are defined */ +#include +#endif +#endif /* C code */ + #endif /* _SRC_CONFIG_H_ */