]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - lib/bind/config.h
MFC r363988:
[FreeBSD/stable/9.git] / lib / bind / config.h
1 /* $FreeBSD$ */
2
3 /* config.h.  Generated from config.h.in by configure.  */
4 /* config.h.in.  Generated from configure.in by autoheader.  */
5 /*
6  * Copyright (C) 2004, 2005, 2007, 2008, 2012, 2014, 2016  Internet Systems Consortium, Inc. ("ISC")
7  * Copyright (C) 1999-2003  Internet Software Consortium.
8  *
9  * Permission to use, copy, modify, and/or distribute this software for any
10  * purpose with or without fee is hereby granted, provided that the above
11  * copyright notice and this permission notice appear in all copies.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
14  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
16  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
18  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19  * PERFORMANCE OF THIS SOFTWARE.
20  */
21
22 /* $Id: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp $ */
23
24 /*! \file */
25
26 /***
27  *** This file is not to be included by any public header files, because
28  *** it does not get installed.
29  ***/
30
31 /** define on DEC OSF to enable 4.4BSD style sa_len support */
32 /* #undef _SOCKADDR_LEN */
33
34 /** define if your system needs pthread_init() before using pthreads */
35 /* #undef NEED_PTHREAD_INIT */
36
37 /** define if your system has sigwait() */
38 #define HAVE_SIGWAIT 1
39
40 /** define if sigwait() is the UnixWare flavor */
41 /* #undef HAVE_UNIXWARE_SIGWAIT */
42
43 /** define on Solaris to get sigwait() to work using pthreads semantics */
44 /* #undef _POSIX_PTHREAD_SEMANTICS */
45
46 /** define if LinuxThreads is in use */
47 /* #undef HAVE_LINUXTHREADS */
48
49 /** define if sysconf() is available */
50 #define HAVE_SYSCONF 1
51
52 /** define if sysctlbyname() is available */
53 #define HAVE_SYSCTLBYNAME 1
54
55 /** define if catgets() is available */
56 #define HAVE_CATGETS 1
57
58 /** define if getifaddrs() exists */
59 #define HAVE_GETIFADDRS 1
60
61 /** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
62 #define HAVE_IFLIST_SYSCTL 1
63
64 /** define if tzset() is available */
65 #define HAVE_TZSET 1
66
67 /** define if struct addrinfo exists */
68 #define HAVE_ADDRINFO 1
69
70 /** define if getaddrinfo() exists */
71 #define HAVE_GETADDRINFO 1
72
73 /** define if gai_strerror() exists */
74 #define HAVE_GAISTRERROR 1
75
76 /** define if arc4random() exists */
77 #define HAVE_ARC4RANDOM 1
78
79 /** define if arc4random_addrandom() exists */
80 #define HAVE_ARC4RANDOM_ADDRANDOM 1
81
82 /**
83  * define if pthread_setconcurrency() should be called to tell the
84  * OS how many threads we might want to run.
85  */
86 /* #undef CALL_PTHREAD_SETCONCURRENCY */
87
88 /** define if IPv6 is not disabled */
89 /* #undef WANT_IPV6 */
90
91 /** define if flockfile() is available */
92 #define HAVE_FLOCKFILE 1
93
94 /** define if getc_unlocked() is available */
95 #define HAVE_GETCUNLOCKED 1
96
97 /** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
98 /* #undef SHUTUP_SPUTAUX */
99 #ifdef SHUTUP_SPUTAUX
100 struct __sFILE;
101 extern __inline int __sputaux(int _c, struct __sFILE *_p);
102 #endif
103
104 /** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
105 /* #undef SHUTUP_SIGWAIT */
106 #ifdef SHUTUP_SIGWAIT
107 int sigwait(const unsigned int *set, int *sig);
108 #endif
109
110 /** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
111 /* #undef SHUTUP_STDARG_CAST */
112 #if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
113 #include <stdarg.h>             /** Grr.  Must be included *every time*. */
114 /**
115  * The silly continuation line is to keep configure from
116  * commenting out the #undef.
117  */
118
119 #undef \
120         va_start
121 #define va_start(ap, last) \
122         do { \
123                 union { const void *konst; long *var; } _u; \
124                 _u.konst = &(last); \
125                 ap = (va_list)(_u.var + __va_words(__typeof(last))); \
126         } while (0)
127 #endif /** SHUTUP_STDARG_CAST && __GNUC__ */
128
129 /** define if the system has a random number generating device */
130 #define PATH_RANDOMDEV "/dev/random"
131
132 /** define if pthread_attr_getstacksize() is available */
133 #define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
134
135 /** define if pthread_attr_setstacksize() is available */
136 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
137
138 /** define if you have strerror in the C library. */
139 #define HAVE_STRERROR 1
140
141 /** Define if you are running under Compaq TruCluster. */
142 /* #undef HAVE_TRUCLUSTER */
143
144 /* Define if OpenSSL includes DSA support */
145 #define HAVE_OPENSSL_DSA 1
146
147 /* Define if OpenSSL includes ECDSA support */
148 #define HAVE_OPENSSL_ECDSA 1
149
150 /* Define to the length type used by the socket API (socklen_t, size_t, int). */
151 #define ISC_SOCKADDR_LEN_T socklen_t
152
153 /* Define if threads need PTHREAD_SCOPE_SYSTEM */
154 /* #undef NEED_PTHREAD_SCOPE_SYSTEM */
155
156 /* Define to 1 if you have the uname library function. */
157 #define HAVE_UNAME 1
158
159 /* Define if building universal (internal helper macro) */
160 /* #undef AC_APPLE_UNIVERSAL_BUILD */
161
162 /* Define to enable the "filter-aaaa-on-v4" option. */
163 /* #undef ALLOW_FILTER_AAAA_ON_V4 */
164
165 /* define if ATF unit tests are to be built. */
166 /* #undef ATF_TEST */
167
168 /* Define if recvmsg() does not meet all of the BSD socket API specifications.
169    */
170 /* #undef BROKEN_RECVMSG */
171
172 /* Define if you cannot bind() before connect() for TCP sockets. */
173 /* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */
174
175 /* Define to enable "rrset-order fixed" syntax. */
176 /* #undef DNS_RDATASET_FIXED */
177
178 /* Define to enable the "fetches-per-server" and "fetches-per-zone" options.
179    */
180 /* #undef ENABLE_FETCHLIMIT */
181
182 /* Define to enable rpz-nsdname rules. */
183 #define ENABLE_RPZ_NSDNAME 1
184
185 /* Define to enable rpz-nsip rules. */
186 #define ENABLE_RPZ_NSIP 1
187
188 /* Solaris hack to get select_large_fdset. */
189 /* #undef FD_SETSIZE */
190
191 /* Define to nothing if C supports flexible array members, and to 1 if it does
192    not. That way, with a declaration like `struct s { int n; double
193    d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
194    compilers. When computing the size of such an object, don't use 'sizeof
195    (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
196    instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
197    MSVC and with C++ compilers. */
198 #define FLEXIBLE_ARRAY_MEMBER /**/
199
200 /* Define to 1 if the compiler supports __builtin_expect. */
201 #define HAVE_BUILTIN_EXPECT 1
202
203 /* Define to 1 if you have the `chroot' function. */
204 #define HAVE_CHROOT 1
205
206 /* Define to 1 if you have the <devpoll.h> header file. */
207 /* #undef HAVE_DEVPOLL_H */
208
209 /* Define to 1 if you have the `dlclose' function. */
210 #define HAVE_DLCLOSE 1
211
212 /* Define to 1 if you have the <dlfcn.h> header file. */
213 #define HAVE_DLFCN_H 1
214
215 /* Define to 1 if you have the `dlopen' function. */
216 #define HAVE_DLOPEN 1
217
218 /* Define to 1 if you have the `dlsym' function. */
219 #define HAVE_DLSYM 1
220
221 /* Define to 1 if you have the `EVP_sha256' function. */
222 #define HAVE_EVP_SHA256 1
223
224 /* Define to 1 if you have the `EVP_sha384' function. */
225 #define HAVE_EVP_SHA384 1
226
227 /* Define to 1 if you have the `EVP_sha512' function. */
228 #define HAVE_EVP_SHA512 1
229
230 /* Define to 1 if you have the <fcntl.h> header file. */
231 #define HAVE_FCNTL_H 1
232
233 /* Define to 1 if you have the `fseeko' function. */
234 #define HAVE_FSEEKO 1
235
236 /* Define to 1 if you have the `ftello' function. */
237 #define HAVE_FTELLO 1
238
239 /* Define to use gperftools CPU profiler. */
240 /* #undef HAVE_GPERFTOOLS_PROFILER */
241
242 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
243 /* #undef HAVE_GSSAPI_GSSAPI_H */
244
245 /* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
246 /* #undef HAVE_GSSAPI_GSSAPI_KRB5_H */
247
248 /* Define to 1 if you have the <gssapi.h> header file. */
249 /* #undef HAVE_GSSAPI_H */
250
251 /* Define to 1 if you have the <gssapi_krb5.h> header file. */
252 /* #undef HAVE_GSSAPI_KRB5_H */
253
254 /* Define to 1 if you have the if_nametoindex function. */
255 #define HAVE_IF_NAMETOINDEX 1
256
257 /* Define to 1 if you have the <inttypes.h> header file. */
258 #define HAVE_INTTYPES_H 1
259
260 /* Define to 1 if you have the <kerberosv5/krb5.h> header file. */
261 /* #undef HAVE_KERBEROSV5_KRB5_H */
262
263 /* Define to 1 if you have the <krb5.h> header file. */
264 /* #undef HAVE_KRB5_H */
265
266 /* Define to 1 if you have the <krb5/krb5.h> header file. */
267 /* #undef HAVE_KRB5_KRB5_H */
268
269 /* Define to 1 if you have the `c' library (-lc). */
270 /* #undef HAVE_LIBC */
271
272 /* Define to 1 if you have the `cap' library (-lcap). */
273 /* #undef HAVE_LIBCAP */
274
275 /* if system have backtrace function */
276 /* #undef HAVE_LIBCTRACE */
277
278 /* Define to 1 if you have the `c_r' library (-lc_r). */
279 /* #undef HAVE_LIBC_R */
280
281 /* Define to 1 if you have the `nsl' library (-lnsl). */
282 /* #undef HAVE_LIBNSL */
283
284 /* Define to 1 if you have the `pthread' library (-lpthread). */
285 /* #undef HAVE_LIBPTHREAD */
286
287 /* Define to 1 if you have the `rt' library (-lrt). */
288 /* #undef HAVE_LIBRT */
289
290 /* Define to 1 if you have the `scf' library (-lscf). */
291 /* #undef HAVE_LIBSCF */
292
293 /* Define to 1 if you have the `socket' library (-lsocket). */
294 /* #undef HAVE_LIBSOCKET */
295
296 /* Define to 1 if you have the `thr' library (-lthr). */
297 /* #undef HAVE_LIBTHR */
298
299 /* Define if libxml2 was found */
300 /* #undef HAVE_LIBXML2 */
301
302 /* Define to 1 if you have the <linux/capability.h> header file. */
303 /* #undef HAVE_LINUX_CAPABILITY_H */
304
305 /* Define to 1 if you have the <linux/types.h> header file. */
306 /* #undef HAVE_LINUX_TYPES_H */
307
308 /* Define to 1 if you have the <locale.h> header file. */
309 #define HAVE_LOCALE_H 1
310
311 /* Define to 1 if you have the <memory.h> header file. */
312 #define HAVE_MEMORY_H 1
313
314 /* Define to 1 if you have the `nanosleep' function. */
315 #define HAVE_NANOSLEEP 1
316
317 /* Define to 1 if you have the <net/if6.h> header file. */
318 /* #undef HAVE_NET_IF6_H */
319
320 /* Define if your OpenSSL version supports ECDSA. */
321 #define HAVE_OPENSSL_ECDSA 1
322
323 /* Define if your OpenSSL version supports GOST. */
324 /* #undef HAVE_OPENSSL_GOST */
325
326 /* Define to 1 if you have the `pthread_yield' function. */
327 #define HAVE_PTHREAD_YIELD 1
328
329 /* Define to 1 if you have the `pthread_yield_np' function. */
330 /* #undef HAVE_PTHREAD_YIELD_NP */
331
332 /* Define to 1 if you have the `readline' function. */
333 #define HAVE_READLINE 1
334
335 /* Define to 1 if you have the <regex.h> header file. */
336 #define HAVE_REGEX_H 1
337
338 /* Define to 1 if you have the <sched.h> header file. */
339 #define HAVE_SCHED_H 1
340
341 /* Define to 1 if you have the `sched_yield' function. */
342 #define HAVE_SCHED_YIELD 1
343
344 /* Define to 1 if you have the `setegid' function. */
345 #define HAVE_SETEGID 1
346
347 /* Define to 1 if you have the `seteuid' function. */
348 #define HAVE_SETEUID 1
349
350 /* Define to 1 if you have the `setlocale' function. */
351 #define HAVE_SETLOCALE 1
352
353 /* Define to 1 if you have the `setresgid' function. */
354 #define HAVE_SETRESGID 1
355
356 /* Define to 1 if you have the `setresuid' function. */
357 #define HAVE_SETRESUID 1
358
359 /* Define to 1 if you have the <stdint.h> header file. */
360 #define HAVE_STDINT_H 1
361
362 /* Define to 1 if you have the <stdlib.h> header file. */
363 #define HAVE_STDLIB_H 1
364
365 /* Define to 1 if you have the <strings.h> header file. */
366 #define HAVE_STRINGS_H 1
367
368 /* Define to 1 if you have the <string.h> header file. */
369 #define HAVE_STRING_H 1
370
371 /* Define to 1 if you have the <sys/capability.h> header file. */
372 /* #undef HAVE_SYS_CAPABILITY_H */
373
374 /* Define to 1 if you have the <sys/devpoll.h> header file. */
375 /* #undef HAVE_SYS_DEVPOLL_H */
376
377 /* Define to 1 if you have the <sys/dyntune.h> header file. */
378 /* #undef HAVE_SYS_DYNTUNE_H */
379
380 /* Define to 1 if you have the <sys/param.h> header file. */
381 #define HAVE_SYS_PARAM_H 1
382
383 /* Define to 1 if you have the <sys/prctl.h> header file. */
384 /* #undef HAVE_SYS_PRCTL_H */
385
386 /* Define to 1 if you have the <sys/select.h> header file. */
387 #define HAVE_SYS_SELECT_H 1
388
389 /* Define to 1 if you have the <sys/sockio.h> header file. */
390 #define HAVE_SYS_SOCKIO_H 1
391
392 /* Define to 1 if you have the <sys/stat.h> header file. */
393 #define HAVE_SYS_STAT_H 1
394
395 /* Define to 1 if you have the <sys/sysctl.h> header file. */
396 #define HAVE_SYS_SYSCTL_H 1
397
398 /* Define to 1 if you have the <sys/time.h> header file. */
399 #define HAVE_SYS_TIME_H 1
400
401 /* Define to 1 if you have the <sys/types.h> header file. */
402 #define HAVE_SYS_TYPES_H 1
403
404 /* Define to 1 if you have the <sys/un.h> header file. */
405 #define HAVE_SYS_UN_H 1
406
407 /* Define if running under Compaq TruCluster */
408 /* #undef HAVE_TRUCLUSTER */
409
410 /* Define to 1 if you have the <unistd.h> header file. */
411 #define HAVE_UNISTD_H 1
412
413 /* Define to 1 if you have the `usleep' function. */
414 #define HAVE_USLEEP 1
415
416 /* HMAC_*() return ints */
417 /* #undef HMAC_RETURN_INT */
418
419 /* return type of gai_strerror */
420 #define IRS_GAISTRERROR_RETURN_T const char *
421
422 /* Define to the buffer length type used by getnameinfo(3). */
423 #define IRS_GETNAMEINFO_BUFLEN_T size_t
424
425 /* Define to the flags type used by getnameinfo(3). */
426 #define IRS_GETNAMEINFO_FLAGS_T int
427
428 /* Define to the sockaddr length type used by getnameinfo(3). */
429 #define IRS_GETNAMEINFO_SOCKLEN_T socklen_t
430
431 /* Define to allow building of objects for dlopen(). */
432 #define ISC_DLZ_DLOPEN 1
433
434 /* Define to the sub-directory in which libtool stores uninstalled libraries.
435    */
436 #define LT_OBJDIR ".libs/"
437
438 /* Defined if extern char *optarg is not declared. */
439 /* #undef NEED_OPTARG */
440
441 /* Define if connect does not honour the permission on the UNIX domain socket.
442    */
443 /* #undef NEED_SECURE_DIRECTORY */
444
445 /* Use the new XML schema for statistics */
446 /* #undef NEWSTATS */
447
448 /* Define to the address where bug reports for this package should be sent. */
449 #define PACKAGE_BUGREPORT "bind9-bugs@isc.org"
450
451 /* Define to the full name of this package. */
452 #define PACKAGE_NAME "BIND"
453
454 /* Define to the full name and version of this package. */
455 #define PACKAGE_STRING "BIND 9.9"
456
457 /* Define to the one symbol short name of this package. */
458 #define PACKAGE_TARNAME "bind"
459
460 /* Define to the home page for this package. */
461 #define PACKAGE_URL "https://www.isc.org/downloads/BIND/"
462
463 /* Define to the version of this package. */
464 #define PACKAGE_VERSION "9.9"
465
466 /* Sets which flag to pass to open/fcntl to make non-blocking
467    (O_NDELAY/O_NONBLOCK). */
468 #define PORT_NONBLOCK O_NONBLOCK
469
470 /* The size of `void *', as computed by sizeof. */
471 #define SIZEOF_VOID_P 8
472
473 /* Define to 1 if you have the ANSI C header files. */
474 #define STDC_HEADERS 1
475
476 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
477 #define TIME_WITH_SYS_TIME 1
478
479 /* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
480    non-blocking. */
481 /* #undef USE_FIONBIO_IOCTL */
482
483 /* Enable DNS Response Rate Limiting */
484 /* #undef USE_RRL */
485
486 /* Define to enable very verbose query trace logging. */
487 /* #undef WANT_QUERYTRACE */
488
489 /* define if idnkit support is to be included. */
490 /* #undef WITH_IDN */
491
492 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
493    significant byte first (like Motorola and SPARC, unlike Intel). */
494 #if defined AC_APPLE_UNIVERSAL_BUILD
495 # if defined __BIG_ENDIAN__
496 #  define WORDS_BIGENDIAN 1
497 # endif
498 #else
499 # ifndef WORDS_BIGENDIAN
500 /* #  undef WORDS_BIGENDIAN */
501 # endif
502 #endif
503
504 /* Define to empty if `const' does not conform to ANSI C. */
505 /* #undef const */
506
507 /* Define to empty if your compiler does not support "static inline". */
508 /* #undef inline */
509
510 /* Define to `unsigned int' if <sys/types.h> does not define. */
511 /* #undef size_t */
512
513 /* Define to `int' if <sys/types.h> does not define. */
514 /* #undef ssize_t */
515
516 /* Define to `unsigned long' if <sys/types.h> does not define. */
517 /* #undef uintptr_t */
518
519 /* Define to empty if the keyword `volatile' does not work. Warning: valid
520    code using `volatile' can become incorrect without. Disable with care. */
521 /* #undef volatile */