Import release 0.1.16
[secnet] / config.h.in
CommitLineData
ff05a229 1/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
2fe58dfd
SE
2#ifndef _CONFIG_H
3#define _CONFIG_H
4
5
2fe58dfd
SE
6/* Define if you have the ANSI C header files. */
7#undef STDC_HEADERS
8
9/* Define if your processor stores words with the most significant
10 byte first (like Motorola and SPARC, unlike Intel and VAX). */
11#undef WORDS_BIGENDIAN
12
8dea8d37
SE
13/* The number of bytes in a unsigned char. */
14#undef SIZEOF_UNSIGNED_CHAR
15
16/* The number of bytes in a unsigned int. */
17#undef SIZEOF_UNSIGNED_INT
18
19/* The number of bytes in a unsigned long. */
20#undef SIZEOF_UNSIGNED_LONG
21
22/* The number of bytes in a unsigned long long. */
23#undef SIZEOF_UNSIGNED_LONG_LONG
24
25/* The number of bytes in a unsigned short. */
26#undef SIZEOF_UNSIGNED_SHORT
27
28/* Define if you have the getopt_long function. */
29#undef HAVE_GETOPT_LONG
30
31/* Define if you have the snprintf function. */
32#undef HAVE_SNPRINTF
33
59635212
SE
34/* Define if you have the <inttypes.h> header file. */
35#undef HAVE_INTTYPES_H
36
4efd681a
SE
37/* Define if you have the <linux/if.h> header file. */
38#undef HAVE_LINUX_IF_H
39
ff05a229
SE
40/* Define if you have the <net/if.h> header file. */
41#undef HAVE_NET_IF_H
42
43/* Define if you have the <net/if_tun.h> header file. */
44#undef HAVE_NET_IF_TUN_H
45
46/* Define if you have the <net/route.h> header file. */
47#undef HAVE_NET_ROUTE_H
48
59635212
SE
49/* Define if you have the <stdint.h> header file. */
50#undef HAVE_STDINT_H
51
ff05a229
SE
52/* Define if you have the <stropts.h> header file. */
53#undef HAVE_STROPTS_H
54
55/* Define if you have the <sys/sockio.h> header file. */
56#undef HAVE_SYS_SOCKIO_H
57
2fe58dfd
SE
58/* Define if you have the adns library (-ladns). */
59#undef HAVE_LIBADNS
60
61/* Define if you have the fl library (-lfl). */
62#undef HAVE_LIBFL
63
8689b3a9
SE
64/* Define if you have the getopt library (-lgetopt). */
65#undef HAVE_LIBGETOPT
66
67/* Define if you have the gmp library (-lgmp). */
68#undef HAVE_LIBGMP
69
4efd681a
SE
70/* Define if you have the gmp2 library (-lgmp2). */
71#undef HAVE_LIBGMP2
8689b3a9
SE
72
73/* Define if you have the gnugetopt library (-lgnugetopt). */
74#undef HAVE_LIBGNUGETOPT
469fd1d9
SE
75
76/* Define if you have the nsl library (-lnsl). */
77#undef HAVE_LIBNSL
78
79/* Define if you have the resolv library (-lresolv). */
80#undef HAVE_LIBRESOLV
81
82/* Define if you have the socket library (-lsocket). */
83#undef HAVE_LIBSOCKET
2fe58dfd
SE
84/* -*- c -*- */
85
86/* These are from config.h.bot, pasted onto the end of config.h.in. */
87
59635212
SE
88#ifdef HAVE_INTTYPES_H
89#include <inttypes.h>
90#else
91#ifdef HAVE_STDINT_H
92#include <stdint.h>
93#else
8dea8d37
SE
94#if SIZEOF_UNSIGNED_LONG_LONG==8
95typedef unsigned long long uint64_t;
794f2398 96typedef long long int64_t;
8dea8d37
SE
97#elif SIZEOF_UNSIGNED_LONG==8
98typedef unsigned long uint64_t;
794f2398 99typedef long int64_t;
8dea8d37
SE
100#else
101#error I do not know what to use for a uint64_t.
59635212 102#endif
8dea8d37
SE
103
104/* Give us an unsigned 32-bit data type. */
105#if SIZEOF_UNSIGNED_LONG==4
106typedef unsigned long uint32_t;
794f2398 107typedef long int32_t;
8dea8d37
SE
108#elif SIZEOF_UNSIGNED_INT==4
109typedef unsigned int uint32_t;
794f2398 110typedef int int32_t;
8dea8d37
SE
111#else
112#error I do not know what to use for a uint32_t.
113#endif
114
115/* An unsigned 16-bit data type. */
116#if SIZEOF_UNSIGNED_INT==2
117typedef unsigned int uint16_t;
794f2398 118typedef int int16_t;
8dea8d37
SE
119#elif SIZEOF_UNSIGNED_SHORT==2
120typedef unsigned short uint16_t;
794f2398 121typedef short int16_t;
8dea8d37
SE
122#else
123#error I do not know what to use for a uint16_t.
124#endif
125
126/* An unsigned 8-bit data type */
127#if SIZEOF_UNSIGNED_CHAR==1
128typedef unsigned char uint8_t;
129#else
130#error I do not know what to use for a uint8_t.
131#endif
132#endif
133#endif
134
135#ifndef HAVE_SNPRINTF
469fd1d9
SE
136#include <stdio.h>
137#include <stdarg.h>
8dea8d37 138#include "snprintf.h"
2fe58dfd
SE
139#endif
140
4f5e39ec
SE
141#ifdef __GNUC__
142#define NORETURN(_x) void _x __attribute__ ((noreturn))
143#define FORMAT(_a,_b,_c) __attribute__ ((format (_a,_b,_c)))
144#else
145#define NORETURN(_x) _x
146#define FORMAT(_a,_b,_c)
147#endif
148
2fe58dfd 149#endif /* _CONFIG_H */