xref: /netbsd-src/external/mpl/dhcp/include/config.h (revision 2c7f81b1f97a16c17c68d6c33e686c8b93af7c51)
1 /* includes/config.h.  Generated from config.h.in by configure.  */
2 /* includes/config.h.in.  Generated from configure.ac by autoheader.  */
3 
4 /* Define if building universal (internal helper macro) */
5 /* #undef AC_APPLE_UNIVERSAL_BUILD */
6 
7 /* Define to support binary insertion of leases into queues. */
8 /* #undef BINARY_LEASES */
9 
10 /* Define to compile debug-only DHCP software. */
11 /* #undef DEBUG */
12 
13 /* Define to queue multiple DHCPACK replies per fsync. */
14 #define DELAYED_ACK 1
15 
16 /* Define to 1 to include DHCPv4 over DHCPv6 support. */
17 /* #undef DHCP4o6 */
18 
19 /* Define to BIG_ENDIAN for MSB (Motorola or SPARC CPUs) or LITTLE_ENDIAN for
20    LSB (Intel CPUs). */
21 #include <sys/endian.h>
22 #define DHCP_BYTE_ORDER _BYTE_ORDER
23 
24 #if 0
25 /* make it possible to obey USE_INET6=no, define it in the Makefile instead */
26 /* Define to 1 to include DHCPv6 support. */
27 #define DHCPv6 1
28 #endif
29 
30 /* Define to any value to chroot() prior to loading config. */
31 /* #undef EARLY_CHROOT */
32 
33 /* Define to include execute() config language support. */
34 #define ENABLE_EXECUTE 1
35 
36 /* Define to include Failover Protocol support. */
37 #define FAILOVER_PROTOCOL 1
38 
39 /* Define to nothing if C supports flexible array members, and to 1 if it does
40    not. That way, with a declaration like `struct s { int n; double
41    d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
42    compilers. When computing the size of such an object, don't use 'sizeof
43    (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
44    instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
45    MSVC and with C++ compilers. */
46 #define FLEXIBLE_ARRAY_MEMBER /**/
47 
48 /* ATF framework specified? */
49 #define HAVE_ATF 1
50 
51 /* Define to 1 to use the Berkeley Packet Filter interface code. */
52 #define HAVE_BPF 1
53 
54 /* Define to 1 if you have the /dev/random or other configured file. */
55 #define HAVE_DEV_RANDOM 1
56 
57 /* Define to 1 to use DLPI interface code. */
58 /* #undef HAVE_DLPI */
59 
60 /* Define to 1 if you have the <ifaddrs.h> header file. */
61 #define HAVE_IFADDRS_H 1
62 
63 /* Define to 1 if you have the `inet_ntop' function. */
64 #define HAVE_INET_NTOP 1
65 
66 /* Define to 1 if you have the `inet_pton' function. */
67 #define HAVE_INET_PTON 1
68 
69 /* Define to 1 if you have the <inttypes.h> header file. */
70 #define HAVE_INTTYPES_H 1
71 
72 /* Define to 1 if you have the <ldap.h> header file. */
73 #define HAVE_LDAP_H 1
74 
75 /* Define to 1 if you have the <linux/types.h> header file. */
76 /* #undef HAVE_LINUX_TYPES_H */
77 
78 /* Define to 1 to use the Linux Packet Filter interface code. */
79 /* #undef HAVE_LPF */
80 
81 /* Define to 1 if you have the <memory.h> header file. */
82 #define HAVE_MEMORY_H 1
83 
84 /* Define to 1 if you have the <micasa_mgmd.h> header file. */
85 /* #undef HAVE_MICASA_MGMD_H */
86 
87 /* Define to 1 if you have the <net/if6.h> header file. */
88 /* #undef HAVE_NET_IF6_H */
89 
90 /* Define to 1 if you have the <net/if_dl.h> header file. */
91 #define HAVE_NET_IF_DL_H 1
92 
93 /* Define to 1 if you have the <regex.h> header file. */
94 #define HAVE_REGEX_H 1
95 
96 /* Define to 1 if the sockaddr structure has a length field. */
97 #define HAVE_SA_LEN /**/
98 
99 /* Define to 1 if you have the <stdint.h> header file. */
100 #define HAVE_STDINT_H 1
101 
102 /* Define to 1 if you have the <stdio.h> header file. */
103 #define HAVE_STDIO_H 1
104 
105 /* Define to 1 if you have the <stdlib.h> header file. */
106 #define HAVE_STDLIB_H 1
107 
108 /* Define to 1 if you have the <strings.h> header file. */
109 #define HAVE_STRINGS_H 1
110 
111 /* Define to 1 if you have the <string.h> header file. */
112 #define HAVE_STRING_H 1
113 
114 /* Define to 1 if you have the `strlcat' function. */
115 #define HAVE_STRLCAT 1
116 
117 /* Define to 1 if you have the <sys/socket.h> header file. */
118 #define HAVE_SYS_SOCKET_H 1
119 
120 /* Define to 1 if you have the <sys/stat.h> header file. */
121 #define HAVE_SYS_STAT_H 1
122 
123 /* Define to 1 if you have the <sys/types.h> header file. */
124 #define HAVE_SYS_TYPES_H 1
125 
126 /* Define to 1 if you have the <unistd.h> header file. */
127 #define HAVE_UNISTD_H 1
128 
129 /* Define to the string for a noreturn attribute. */
130 #define ISC_DHCP_NORETURN __attribute__((noreturn))
131 
132 /* Define to 1 if the system has 'struct if_laddrconf'. */
133 /* #undef ISC_PLATFORM_HAVEIF_LADDRCONF */
134 
135 /* Define to 1 if the system has 'struct if_laddrreq'. */
136 /* #undef ISC_PLATFORM_HAVEIF_LADDRREQ */
137 
138 /* Define to 1 if the system has 'struct lifnum'. */
139 /* #undef ISC_PLATFORM_HAVELIFNUM */
140 
141 /* Define to 1 if the inet_aton() function is missing. */
142 /* #undef NEED_INET_ATON */
143 
144 /* Name of package */
145 #define PACKAGE "dhcp"
146 
147 /* Define to the address where bug reports for this package should be sent. */
148 #define PACKAGE_BUGREPORT "dhcp-users@isc.org"
149 
150 /* Define to the full name of this package. */
151 #define PACKAGE_NAME "DHCP"
152 
153 /* Define to the full name and version of this package. */
154 #define PACKAGE_STRING "DHCP 4.4.3-P1"
155 
156 /* Define to the one symbol short name of this package. */
157 #define PACKAGE_TARNAME "dhcp"
158 
159 /* Define to the home page for this package. */
160 #define PACKAGE_URL ""
161 
162 /* Define to the version of this package. */
163 #define PACKAGE_VERSION "4.4.3-P1"
164 
165 /* Define to any value to include Ari's PARANOIA patch. */
166 /* #undef PARANOIA */
167 
168 /* Define to 1 to include relay port support. */
169 /* #undef RELAY_PORT */
170 
171 /* The size of `struct iaddr *', as computed by sizeof. */
172 #define SIZEOF_STRUCT_IADDR_P sizeof(void *)
173 
174 /* Define to 1 if you have the ANSI C header files. */
175 #define STDC_HEADERS 1
176 
177 /* Define to include server activity tracing support. */
178 #define TRACING 1
179 
180 /* Define to 1 if ethernet devices are in /dev/net */
181 /* #undef USE_DEV_NET */
182 
183 /* Define to include PIDs in syslog messages. */
184 #define USE_LOG_PID 1
185 
186 /* Define to 1 to use the standard BSD socket API. */
187 /* #undef USE_SOCKETS */
188 
189 /* Enable extensions on AIX 3, Interix.  */
190 #ifndef _ALL_SOURCE
191 # define _ALL_SOURCE 1
192 #endif
193 /* Enable GNU extensions on systems that have them.  */
194 #ifndef _GNU_SOURCE
195 # define _GNU_SOURCE 1
196 #endif
197 /* Enable threading extensions on Solaris.  */
198 #ifndef _POSIX_PTHREAD_SEMANTICS
199 # define _POSIX_PTHREAD_SEMANTICS 1
200 #endif
201 /* Enable extensions on HP NonStop.  */
202 #ifndef _TANDEM_SOURCE
203 # define _TANDEM_SOURCE 1
204 #endif
205 /* Enable general extensions on Solaris.  */
206 #ifndef __EXTENSIONS__
207 # define __EXTENSIONS__ 1
208 #endif
209 
210 
211 /* Define to 1 to enable IPv4 packet info support. */
212 /* #undef USE_V4_PKTINFO */
213 
214 /* Version number of package */
215 #define VERSION "4.4.3-P1"
216 
217 /* tpacket_auxdata.tp_vlan_tci present */
218 /* #undef VLAN_TCI_PRESENT */
219 
220 #if 0
221 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
222    significant byte first (like Motorola and SPARC, unlike Intel). */
223 #if defined AC_APPLE_UNIVERSAL_BUILD
224 # if defined __BIG_ENDIAN__
225 #  define WORDS_BIGENDIAN 1
226 # endif
227 #else
228 # ifndef WORDS_BIGENDIAN
229 /* #  undef WORDS_BIGENDIAN */
230 # endif
231 #endif
232 #else
233 #if _BYTE_ORDER == _BIG_ENDIAN
234 # define WORDS_BIGENDIAN 1
235 #endif
236 #endif
237 
238 /* Define to 1 if on MINIX. */
239 /* #undef _MINIX */
240 
241 /* File for dhclient6 leases. */
242 /* #undef _PATH_DHCLIENT6_DB */
243 
244 /* File for dhclient6 process information. */
245 /* #undef _PATH_DHCLIENT6_PID */
246 
247 /* Default file containing dhcpd configuration. */
248 /* #undef _PATH_DHCPD_CONF */
249 
250 /* File for dhclient leases. */
251 /* #undef _PATH_DHCLIENT_DB */
252 
253 /* File for dhclient process information. */
254 /* #undef _PATH_DHCLIENT_PID */
255 
256 /* File for dhcpd6 leases. */
257 /* #undef _PATH_DHCPD6_DB */
258 
259 /* File for dhcpd6 process information. */
260 /* #undef _PATH_DHCPD6_PID */
261 
262 /* File for dhcpd leases. */
263 /* #undef _PATH_DHCPD_DB */
264 
265 /* File for dhcpd process information. */
266 /* #undef _PATH_DHCPD_PID */
267 
268 /* File for dhcrelay6 process information. */
269 /* #undef _PATH_DHCRELAY6_PID */
270 
271 /* File for dhcrelay process information. */
272 /* #undef _PATH_DHCRELAY_PID */
273 
274 /* Define to 2 if the system does not provide POSIX.1 features except with
275    this defined. */
276 /* #undef _POSIX_1_SOURCE */
277 
278 /* Define to 1 if you need to in order for `stat' and other things to work. */
279 /* #undef _POSIX_SOURCE */
280 
281 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
282    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
283    #define below would cause a syntax error. */
284 /* #undef _UINT32_T */
285 
286 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
287    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
288    #define below would cause a syntax error. */
289 /* #undef _UINT64_T */
290 
291 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
292    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
293    #define below would cause a syntax error. */
294 /* #undef _UINT8_T */
295 
296 /* Define to the type of a signed integer type of width exactly 16 bits if
297    such a type exists and the standard includes do not define it. */
298 /* #undef int16_t */
299 
300 /* Define to the type of a signed integer type of width exactly 32 bits if
301    such a type exists and the standard includes do not define it. */
302 /* #undef int32_t */
303 
304 /* Define to the type of a signed integer type of width exactly 64 bits if
305    such a type exists and the standard includes do not define it. */
306 /* #undef int64_t */
307 
308 /* Define to the type of a signed integer type of width exactly 8 bits if such
309    a type exists and the standard includes do not define it. */
310 /* #undef int8_t */
311 
312 /* Define a type for 16-bit unsigned integers. */
313 /* #undef u_int16_t */
314 
315 /* Define a type for 32-bit unsigned integers. */
316 /* #undef u_int32_t */
317 
318 /* Define a type for 64-bit unsigned integers. */
319 /* #undef u_int64_t */
320 
321 /* Define a type for 8-bit unsigned integers. */
322 /* #undef u_int8_t */
323 
324 /* Define to the type of an unsigned integer type of width exactly 16 bits if
325    such a type exists and the standard includes do not define it. */
326 /* #undef uint16_t */
327 
328 /* Define to the type of an unsigned integer type of width exactly 32 bits if
329    such a type exists and the standard includes do not define it. */
330 /* #undef uint32_t */
331 
332 /* Define to the type of an unsigned integer type of width exactly 64 bits if
333    such a type exists and the standard includes do not define it. */
334 /* #undef uint64_t */
335 
336 /* Define to the type of an unsigned integer type of width exactly 8 bits if
337    such a type exists and the standard includes do not define it. */
338 /* #undef uint8_t */
339 
340 /*
341  * XXX: compat
342  */
343 #include <stdbool.h>
344 #include <limits.h>
345 #define isc_boolean_t bool
346 #define ISC_TRUE true
347 #define ISC_FALSE false
348 #define isc_uint64_t uint64_t
349 #define isc_boolean_true true
350 #define isc_boolean_false false
351 #define ISC_UINT64_MAX UINT64_MAX
352