X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2Fconfig.h.in;h=7aad23c3bd65817e44b318524b3ad0825f2fd375;hb=53ae6edce0438b13f4eaef31acfc79a36045ee48;hp=723341869f9b05e7a5519a801c4f938e836014db;hpb=b3e41b0785436061d5d1ac1e8d38a4966400b96a;p=cln.git diff --git a/include/cln/config.h.in b/include/cln/config.h.in index 7233418..7aad23c 100644 --- a/include/cln/config.h.in +++ b/include/cln/config.h.in @@ -18,40 +18,72 @@ #ifndef __i386__ #undef __i386__ #endif + +#ifndef __x86_64__ +#undef __x86_64__ +#endif + #ifndef __m68k__ #undef __m68k__ #endif + +// NB: GCC def's __mips__ both on big-endian and little-endian systems. #ifndef __mips__ #undef __mips__ #endif + +#ifndef __mipsel__ +#undef __mipsel__ +#endif + #ifndef __mips64__ #undef __mips64__ #endif + #ifndef __sparc__ #undef __sparc__ #endif + #ifndef __sparc64__ #undef __sparc64__ #endif + #ifndef __alpha__ #undef __alpha__ #endif + #ifndef __hppa__ #undef __hppa__ #endif + #ifndef __arm__ #undef __arm__ #endif + #ifndef __rs6000__ #undef __rs6000__ #endif + +#ifndef __powerpc64__ +#undef __powerpc64__ +#endif + #ifndef __m88k__ #undef __m88k__ #endif + #ifndef __convex__ #undef __convex__ #endif +#ifndef __ia64__ +#undef __ia64__ +#endif + +#ifndef __s390__ +#undef __s390__ +#endif + /* assembler syntax */ @@ -62,12 +94,6 @@ /* compiler characteristics */ -/* CL_BOOL */ -/* Define if your compiler understands the bool type. */ -#undef HAVE_BOOL -/* Define this as `int' if your compiler doesn't understand the bool type. */ -#undef bool - /* CL_LONGLONG */ /* Define if your compiler supports the `long long' type. */ #undef HAVE_LONGLONG @@ -76,10 +102,6 @@ /* Define if your compiler supports the `long double' type. */ #undef HAVE_LONGDOUBLE -/* CL_TEMPLATE_NULL */ -/* Define if your compiler supports the `template <>' syntax. */ -#undef HAVE_TEMPLATE_NULL - /* header files */ @@ -87,6 +109,12 @@ /* Define if you have . */ #undef HAVE_UNISTD_H +/* CL_GMP_SET_UINTD */ +/* Define one of the following so sizeof(uintD) matches sizeof(mp_limb_t). */ +#undef GMP_DEMANDS_UINTD_LONG_LONG +#undef GMP_DEMANDS_UINTD_LONG +#undef GMP_DEMANDS_UINTD_INT + /* functions and declarations */ @@ -99,20 +127,10 @@ /* compiler characteristics */ -/* CL_GLOBAL_CONSTRUCTORS */ -/* Define as the prefix of the name of a module's global constructor function, - cf. macro FILE_FUNCTION_FORMAT in gcc/tree.c. */ -#ifndef CL_GLOBAL_CONSTRUCTOR_PREFIX -#undef CL_GLOBAL_CONSTRUCTOR_PREFIX -#endif -/* Define as the prefix of the name of a module's global destructor function, - cf. macro FILE_FUNCTION_FORMAT in gcc/tree.c. */ -#ifndef CL_GLOBAL_DESTRUCTOR_PREFIX -#undef CL_GLOBAL_DESTRUCTOR_PREFIX +/* Define if the compiler knows about __attribute__((flatten)). */ +#ifndef CL_HAVE_ATTRIBUTE_FLATTEN +#undef CL_HAVE_ATTRIBUTE_FLATTEN #endif -/* Define if a module's global constructor function and global destructor - function need to be exported in order to be accessible from other modules. */ -#undef CL_NEED_GLOBALIZE_CTORDTOR /* CL_CHAR_UNSIGNED */ #ifndef __CHAR_UNSIGNED__