X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=secnet.git;a=blobdiff_plain;f=config.h.in;h=74fea8367b3c2bafac0aa093ca10055c5b01a510;hp=0a6033710db945f91b9c5b78d3a1943ff15192c3;hb=92a7d254975db245c3320855515bffc1aebda9e4;hpb=f74f5f43b01514e32f51e30015a8c7d5c7dd1521 diff --git a/config.h.in b/config.h.in index 0a60337..74fea83 100644 --- a/config.h.in +++ b/config.h.in @@ -5,6 +5,9 @@ #define _CONFIG_H +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H @@ -14,18 +17,12 @@ /* Define to 1 if you have the `fl' library (-lfl). */ #undef HAVE_LIBFL -/* Define to 1 if you have the `getopt' library (-lgetopt). */ -#undef HAVE_LIBGETOPT - /* Define to 1 if you have the `gmp' library (-lgmp). */ #undef HAVE_LIBGMP /* Define to 1 if you have the `gmp2' library (-lgmp2). */ #undef HAVE_LIBGMP2 -/* Define to 1 if you have the `gnugetopt' library (-lgnugetopt). */ -#undef HAVE_LIBGNUGETOPT - /* Define to 1 if you have the `nsl' library (-lnsl). */ #undef HAVE_LIBNSL @@ -50,9 +47,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_NET_ROUTE_H -/* Define to 1 if you have the `snprintf' function. */ -#undef HAVE_SNPRINTF - /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H @@ -95,30 +89,41 @@ /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME +/* Define to the home page for this package. */ +#undef PACKAGE_URL + /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* The size of a `unsigned char', as computed by sizeof. */ +/* The size of `unsigned char', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_CHAR -/* The size of a `unsigned int', as computed by sizeof. */ +/* The size of `unsigned int', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_INT -/* The size of a `unsigned long', as computed by sizeof. */ +/* The size of `unsigned long', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_LONG -/* The size of a `unsigned long long', as computed by sizeof. */ +/* The size of `unsigned long long', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_LONG_LONG -/* The size of a `unsigned short', as computed by sizeof. */ +/* The size of `unsigned short', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_SHORT /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS -/* 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). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif /* -*- c -*- */ @@ -172,12 +177,6 @@ typedef unsigned char uint8_t; #endif #endif -#ifndef HAVE_SNPRINTF -#include -#include -#include "snprintf.h" -#endif - #ifdef __GNUC__ #define NORETURN(_x) void _x __attribute__ ((noreturn)) #define FORMAT(_a,_b,_c) __attribute__ ((format (_a,_b,_c)))