build system: remove *~ files in clean target
[secnet] / config.h.in
CommitLineData
f74f5f43
SE
1/* config.h.in. Generated from configure.in by autoheader. */
2
3
2fe58dfd
SE
4#ifndef _CONFIG_H
5#define _CONFIG_H
6
7
f74f5f43
SE
8/* Define to 1 if you have the <inttypes.h> header file. */
9#undef HAVE_INTTYPES_H
2fe58dfd 10
f74f5f43
SE
11/* Define to 1 if you have the `adns' library (-ladns). */
12#undef HAVE_LIBADNS
2fe58dfd 13
f74f5f43
SE
14/* Define to 1 if you have the `fl' library (-lfl). */
15#undef HAVE_LIBFL
8dea8d37 16
f74f5f43
SE
17/* Define to 1 if you have the `getopt' library (-lgetopt). */
18#undef HAVE_LIBGETOPT
8dea8d37 19
f74f5f43
SE
20/* Define to 1 if you have the `gmp' library (-lgmp). */
21#undef HAVE_LIBGMP
8dea8d37 22
f74f5f43
SE
23/* Define to 1 if you have the `gmp2' library (-lgmp2). */
24#undef HAVE_LIBGMP2
8dea8d37 25
f74f5f43
SE
26/* Define to 1 if you have the `gnugetopt' library (-lgnugetopt). */
27#undef HAVE_LIBGNUGETOPT
8dea8d37 28
f74f5f43
SE
29/* Define to 1 if you have the `nsl' library (-lnsl). */
30#undef HAVE_LIBNSL
8dea8d37 31
f74f5f43
SE
32/* Define to 1 if you have the `resolv' library (-lresolv). */
33#undef HAVE_LIBRESOLV
8dea8d37 34
f74f5f43
SE
35/* Define to 1 if you have the `socket' library (-lsocket). */
36#undef HAVE_LIBSOCKET
59635212 37
f74f5f43 38/* Define to 1 if you have the <linux/if.h> header file. */
4efd681a
SE
39#undef HAVE_LINUX_IF_H
40
f74f5f43
SE
41/* Define to 1 if you have the <memory.h> header file. */
42#undef HAVE_MEMORY_H
43
44/* Define to 1 if you have the <net/if.h> header file. */
ff05a229
SE
45#undef HAVE_NET_IF_H
46
f74f5f43 47/* Define to 1 if you have the <net/if_tun.h> header file. */
ff05a229
SE
48#undef HAVE_NET_IF_TUN_H
49
f74f5f43 50/* Define to 1 if you have the <net/route.h> header file. */
ff05a229
SE
51#undef HAVE_NET_ROUTE_H
52
f74f5f43
SE
53/* Define to 1 if you have the `snprintf' function. */
54#undef HAVE_SNPRINTF
55
56/* Define to 1 if you have the <stdint.h> header file. */
59635212
SE
57#undef HAVE_STDINT_H
58
f74f5f43
SE
59/* Define to 1 if you have the <stdlib.h> header file. */
60#undef HAVE_STDLIB_H
61
62/* Define to 1 if you have the <strings.h> header file. */
63#undef HAVE_STRINGS_H
64
65/* Define to 1 if you have the <string.h> header file. */
66#undef HAVE_STRING_H
67
68/* Define to 1 if you have the <stropts.h> header file. */
ff05a229
SE
69#undef HAVE_STROPTS_H
70
f74f5f43
SE
71/* Define to 1 if you have the <sys/socket.h> header file. */
72#undef HAVE_SYS_SOCKET_H
73
74/* Define to 1 if you have the <sys/sockio.h> header file. */
ff05a229
SE
75#undef HAVE_SYS_SOCKIO_H
76
f74f5f43
SE
77/* Define to 1 if you have the <sys/stat.h> header file. */
78#undef HAVE_SYS_STAT_H
2fe58dfd 79
f74f5f43
SE
80/* Define to 1 if you have the <sys/types.h> header file. */
81#undef HAVE_SYS_TYPES_H
2fe58dfd 82
f74f5f43
SE
83/* Define to 1 if you have the <unistd.h> header file. */
84#undef HAVE_UNISTD_H
8689b3a9 85
f74f5f43
SE
86/* Define to the address where bug reports for this package should be sent. */
87#undef PACKAGE_BUGREPORT
8689b3a9 88
f74f5f43
SE
89/* Define to the full name of this package. */
90#undef PACKAGE_NAME
8689b3a9 91
f74f5f43
SE
92/* Define to the full name and version of this package. */
93#undef PACKAGE_STRING
469fd1d9 94
f74f5f43
SE
95/* Define to the one symbol short name of this package. */
96#undef PACKAGE_TARNAME
97
98/* Define to the version of this package. */
99#undef PACKAGE_VERSION
100
101/* The size of a `unsigned char', as computed by sizeof. */
102#undef SIZEOF_UNSIGNED_CHAR
103
104/* The size of a `unsigned int', as computed by sizeof. */
105#undef SIZEOF_UNSIGNED_INT
106
107/* The size of a `unsigned long', as computed by sizeof. */
108#undef SIZEOF_UNSIGNED_LONG
109
110/* The size of a `unsigned long long', as computed by sizeof. */
111#undef SIZEOF_UNSIGNED_LONG_LONG
112
113/* The size of a `unsigned short', as computed by sizeof. */
114#undef SIZEOF_UNSIGNED_SHORT
115
116/* Define to 1 if you have the ANSI C header files. */
117#undef STDC_HEADERS
118
119/* Define to 1 if your processor stores words with the most significant byte
120 first (like Motorola and SPARC, unlike Intel and VAX). */
121#undef WORDS_BIGENDIAN
469fd1d9 122
469fd1d9 123
2fe58dfd
SE
124/* -*- c -*- */
125
f74f5f43 126/* These used to be in config.h.bot, but are now in configure.in. */
2fe58dfd 127
59635212
SE
128#ifdef HAVE_INTTYPES_H
129#include <inttypes.h>
130#else
131#ifdef HAVE_STDINT_H
132#include <stdint.h>
133#else
8dea8d37
SE
134#if SIZEOF_UNSIGNED_LONG_LONG==8
135typedef unsigned long long uint64_t;
794f2398 136typedef long long int64_t;
8dea8d37
SE
137#elif SIZEOF_UNSIGNED_LONG==8
138typedef unsigned long uint64_t;
794f2398 139typedef long int64_t;
8dea8d37
SE
140#else
141#error I do not know what to use for a uint64_t.
59635212 142#endif
8dea8d37
SE
143
144/* Give us an unsigned 32-bit data type. */
145#if SIZEOF_UNSIGNED_LONG==4
146typedef unsigned long uint32_t;
794f2398 147typedef long int32_t;
8dea8d37
SE
148#elif SIZEOF_UNSIGNED_INT==4
149typedef unsigned int uint32_t;
794f2398 150typedef int int32_t;
8dea8d37
SE
151#else
152#error I do not know what to use for a uint32_t.
153#endif
154
155/* An unsigned 16-bit data type. */
156#if SIZEOF_UNSIGNED_INT==2
157typedef unsigned int uint16_t;
794f2398 158typedef int int16_t;
8dea8d37
SE
159#elif SIZEOF_UNSIGNED_SHORT==2
160typedef unsigned short uint16_t;
794f2398 161typedef short int16_t;
8dea8d37
SE
162#else
163#error I do not know what to use for a uint16_t.
164#endif
165
166/* An unsigned 8-bit data type */
167#if SIZEOF_UNSIGNED_CHAR==1
168typedef unsigned char uint8_t;
169#else
170#error I do not know what to use for a uint8_t.
171#endif
172#endif
173#endif
174
175#ifndef HAVE_SNPRINTF
469fd1d9
SE
176#include <stdio.h>
177#include <stdarg.h>
8dea8d37 178#include "snprintf.h"
2fe58dfd
SE
179#endif
180
4f5e39ec
SE
181#ifdef __GNUC__
182#define NORETURN(_x) void _x __attribute__ ((noreturn))
183#define FORMAT(_a,_b,_c) __attribute__ ((format (_a,_b,_c)))
184#else
185#define NORETURN(_x) _x
186#define FORMAT(_a,_b,_c)
187#endif
188
2fe58dfd 189#endif /* _CONFIG_H */
f74f5f43 190