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