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