X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=config.h.in;h=54e8a6fcfe06e5706bb15ab4ba932b9f0810b02a;hp=a3b3cef8bf58014eb35447a3538c5904f4cdb645;hb=refs%2Ftags%2Fv0.1.6;hpb=2fe58dfd10216a37f1ece081f926971882de112e diff --git a/config.h.in b/config.h.in index a3b3cef..54e8a6f 100644 --- a/config.h.in +++ b/config.h.in @@ -1,46 +1,8 @@ /* 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$ - */ - #ifndef _CONFIG_H #define _CONFIG_H -/* Define to empty if the keyword does not work. */ -#undef const - -/* Define if you don't have vprintf but do have _doprnt. */ -#undef HAVE_DOPRNT - -/* Define if you have the vprintf function. */ -#undef HAVE_VPRINTF - -/* Define to `int' if doesn't define. */ -#undef pid_t - -/* Define to `unsigned' if doesn't define. */ -#undef size_t - /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS @@ -48,43 +10,44 @@ byte first (like Motorola and SPARC, unlike Intel and VAX). */ #undef WORDS_BIGENDIAN +/* Define if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define if you have the header file. */ +#undef HAVE_LINUX_IF_H + +/* Define if you have the header file. */ +#undef HAVE_STDINT_H + /* Define if you have the adns library (-ladns). */ #undef HAVE_LIBADNS /* Define if you have the fl library (-lfl). */ #undef HAVE_LIBFL +/* Define if you have the getopt library (-lgetopt). */ +#undef HAVE_LIBGETOPT + /* Define if you have the gmp library (-lgmp). */ #undef HAVE_LIBGMP -/* -*- c -*- */ -/* These are from config.h.bot, pasted onto the end of config.h.in. */ +/* Define if you have the gmp2 library (-lgmp2). */ +#undef HAVE_LIBGMP2 -#ifdef HAVE_SYS_CDEFS_H -#include -#endif +/* Define if you have the gnugetopt library (-lgnugetopt). */ +#undef HAVE_LIBGNUGETOPT +/* -*- c -*- */ -#if 0 -/* Use the definitions: */ +/* These are from config.h.bot, pasted onto the end of config.h.in. */ -/* 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 +#ifdef HAVE_INTTYPES_H +#include #else -#error I do not know what to use for a UWORD32. -#endif - -/* An unsigned 8-bit data type */ -#if SIZEOF_UNSIGNED_CHAR==1 -#define UBYTE8 unsigned char +#ifdef HAVE_STDINT_H +#include #else -#error I do not know what to use for a UBYTE8 +#error you must define uint32_t, uint16_t etc. +#endif #endif - - -#endif /* 0 */ - #endif /* _CONFIG_H */