X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=config.h.in;h=a99e83f1ce52faef56789141ec8041ea4957eb63;hb=9eba4abfe44617aa78f625d900fe6bc2c58bb4cb;hp=a3b3cef8bf58014eb35447a3538c5904f4cdb645;hpb=2fe58dfd10216a37f1ece081f926971882de112e;p=secnet.git diff --git a/config.h.in b/config.h.in index a3b3cef..a99e83f 100644 --- a/config.h.in +++ b/config.h.in @@ -1,90 +1,97 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ -/*************************************************************************** - * - * Part II Project, "A secure, private IP network" - * Stephen Early - * - * - * $RCSfile$ - * - * Description: - * - * Copyright: (C) Stephen Early 1995 - * - * $Revision$ - * - * $Date$ - * - * $State$ - * - ***************************************************************************/ - -/* $Log$ - */ +/* config.h.in. Generated from configure.ac by autoheader. */ + #ifndef _CONFIG_H #define _CONFIG_H -/* Define to empty if the keyword does not work. */ -#undef const +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD -/* Define if you don't have vprintf but do have _doprnt. */ -#undef HAVE_DOPRNT +/* Define to 1 to use IPv6 support in system and adns */ +#undef CONFIG_IPV6 -/* Define if you have the vprintf function. */ -#undef HAVE_VPRINTF +/* Define to 1 if you have the `fmemopen' function. */ +#undef HAVE_FMEMOPEN -/* Define to `int' if doesn't define. */ -#undef pid_t +/* Define to 1 if you have the `funopen' function. */ +#undef HAVE_FUNOPEN -/* Define to `unsigned' if doesn't define. */ -#undef size_t +/* Define to 1 if you have the `adns' library (-ladns). */ +#undef HAVE_LIBADNS -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS +/* Define to 1 if you have the `gmp' library (-lgmp). */ +#undef HAVE_LIBGMP -/* 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 if you have the `gmp2' library (-lgmp2). */ +#undef HAVE_LIBGMP2 -/* Define if you have the adns library (-ladns). */ -#undef HAVE_LIBADNS +/* Define to 1 if you have the `socket' library (-lsocket). */ +#undef HAVE_LIBSOCKET -/* Define if you have the fl library (-lfl). */ -#undef HAVE_LIBFL +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_IF_TUN_H -/* Define if you have the gmp library (-lgmp). */ -#undef HAVE_LIBGMP -/* -*- c -*- */ +/* Define to 1 if you have the header file. */ +#undef HAVE_NET_IF_H -/* These are from config.h.bot, pasted onto the end of config.h.in. */ +/* Define to 1 if you have the header file. */ +#undef HAVE_NET_IF_TUN_H -#ifdef HAVE_SYS_CDEFS_H -#include -#endif +/* Define to 1 if you have the header file. */ +#undef HAVE_NET_ROUTE_H -#if 0 -/* Use the definitions: */ +/* Define to 1 if you have the header file. */ +#undef HAVE_STROPTS_H -/* Give us an unsigned 32-bit data type. */ -#if SIZEOF_UNSIGNED_LONG==4 -#define UWORD32 unsigned long -#elif SIZEOF_UNSIGNED_INT==4 -#define UWORD32 unsigned int -#else -#error I do not know what to use for a UWORD32. -#endif +/* 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 -/* An unsigned 8-bit data type */ -#if SIZEOF_UNSIGNED_CHAR==1 -#define UBYTE8 unsigned char +/* 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 I do not know what to use for a UBYTE8 +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif #endif -#endif /* 0 */ +/* -*- 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 */ +