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