X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=config.h.in;h=a99e83f1ce52faef56789141ec8041ea4957eb63;hb=4bc0381500403be5f3e40bc39f65a2d8fb75cf19;hp=c52fd8cb74d37555b60f4a9bc0dfe4e7ee43a869;hpb=5963521296680c2aeb40baeb72459dffc14cd996;p=secnet.git diff --git a/config.h.in b/config.h.in index c52fd8c..a99e83f 100644 --- a/config.h.in +++ b/config.h.in @@ -1,44 +1,97 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + + #ifndef _CONFIG_H #define _CONFIG_H -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD -/* Define if your processor stores words with the most significant - byte first (like Motorola and SPARC, unlike Intel and VAX). */ -#undef WORDS_BIGENDIAN +/* Define to 1 to use IPv6 support in system and adns */ +#undef CONFIG_IPV6 -/* Define if you have the header file. */ -#undef HAVE_INTTYPES_H +/* Define to 1 if you have the `fmemopen' function. */ +#undef HAVE_FMEMOPEN -/* Define if you have the header file. */ -#undef HAVE_LINUX_IF_H +/* Define to 1 if you have the `funopen' function. */ +#undef HAVE_FUNOPEN -/* Define if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define if you have the adns library (-ladns). */ +/* Define to 1 if you have the `adns' library (-ladns). */ #undef HAVE_LIBADNS -/* Define if you have the fl library (-lfl). */ -#undef HAVE_LIBFL +/* Define to 1 if you have the `gmp' library (-lgmp). */ +#undef HAVE_LIBGMP -/* Define if you have the gmp2 library (-lgmp2). */ +/* Define to 1 if you have the `gmp2' library (-lgmp2). */ #undef HAVE_LIBGMP2 -/* -*- c -*- */ -/* These are from config.h.bot, pasted onto the end of config.h.in. */ +/* Define to 1 if you have the `socket' library (-lsocket). */ +#undef HAVE_LIBSOCKET -#ifdef HAVE_INTTYPES_H -#include -#else -#ifdef HAVE_STDINT_H -#include +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_IF_TUN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NET_IF_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NET_IF_TUN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NET_ROUTE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STROPTS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKIO_H + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* 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 + +/* 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 -#error you must define uint32_t, uint16_t etc. +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif #endif + + +/* -*- c -*- */ + +/* These used to be in config.h.bot, but are now in configure.in. */ + +#ifdef __GNUC__ +#define NORETURN(_x) void _x __attribute__ ((noreturn)) +#define FORMAT(_a,_b,_c) __attribute__ ((format (_a,_b,_c))) +#else +#define NORETURN(_x) _x +#define FORMAT(_a,_b,_c) #endif #endif /* _CONFIG_H */ +