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