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. 6 * 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. 10 * 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. 18 */ 19 20 /* Id: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp */ 21 22 /*! \file */ 23 24 /*** 25 *** This file is not to be included by any public header files, because 26 *** it does not get installed. 27 ***/ 28 29 /** define on DEC OSF to enable 4.4BSD style sa_len support */ 30 /* #undef _SOCKADDR_LEN */ 31 32 /** define if your system needs pthread_init() before using pthreads */ 33 /* #undef NEED_PTHREAD_INIT */ 34 35 /* 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. 39 */ 40 #ifdef ISC_PLATFORM_USETHREADS 41 /** define if your system has sigwait() */ 42 #define HAVE_SIGWAIT 1 43 #endif /* ISC_PLATFORM_USETHREADS */ 44 45 /** define if sigwait() is the UnixWare flavor */ 46 /* #undef HAVE_UNIXWARE_SIGWAIT */ 47 48 /** define on Solaris to get sigwait() to work using pthreads semantics */ 49 /* #undef _POSIX_PTHREAD_SEMANTICS */ 50 51 /** define if LinuxThreads is in use */ 52 /* #undef HAVE_LINUXTHREADS */ 53 54 /** define if sysconf() is available */ 55 #define HAVE_SYSCONF 1 56 57 /** define if sysctlbyname() is available */ 58 #define HAVE_SYSCTLBYNAME 1 59 60 /** define if catgets() is available */ 61 #define HAVE_CATGETS 1 62 63 /** define if getifaddrs() exists */ 64 #define HAVE_GETIFADDRS 1 65 66 /** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */ 67 #define HAVE_IFLIST_SYSCTL 1 68 69 /** define if tzset() is available */ 70 #define HAVE_TZSET 1 71 72 /** define if struct addrinfo exists */ 73 #define HAVE_ADDRINFO 1 74 75 /** define if getaddrinfo() exists */ 76 #define HAVE_GETADDRINFO 1 77 78 /** define if gai_strerror() exists */ 79 #define HAVE_GAISTRERROR 1 80 81 /** define if arc4random() exists */ 82 #define HAVE_ARC4RANDOM 1 83 84 /** define if arc4random_addrandom() exists */ 85 #define HAVE_ARC4RANDOM_ADDRANDOM 1 86 87 /** 88 * define if pthread_setconcurrency() should be called to tell the 89 * OS how many threads we might want to run. 90 */ 91 /* #undef CALL_PTHREAD_SETCONCURRENCY */ 92 93 #ifndef __NetBSD__ 94 /* defined by the build process */ 95 /** define if IPv6 is not disabled */ 96 #define WANT_IPV6 1 97 #endif 98 99 /** define if flockfile() is available */ 100 #define HAVE_FLOCKFILE 1 101 102 /** define if getc_unlocked() is available */ 103 #define HAVE_GETCUNLOCKED 1 104 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 111 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 117 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*. */ 122 /** 123 * The silly continuation line is to keep configure from 124 * commenting out the #undef. 125 */ 126 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__ */ 136 137 /** define if the system has a random number generating device */ 138 #define PATH_RANDOMDEV "/dev/random" 139 140 /** define if pthread_attr_getstacksize() is available */ 141 #define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1 142 143 /** define if pthread_attr_setstacksize() is available */ 144 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 145 146 /** define if you have strerror in the C library. */ 147 #define HAVE_STRERROR 1 148 149 /* Define if OpenSSL includes DSA support */ 150 #define HAVE_OPENSSL_DSA 1 151 152 /* Define if you have getpassphrase in the C library. */ 153 /* #undef HAVE_GETPASSPHRASE */ 154 155 /* Define to the length type used by the socket API (socklen_t, size_t, int). */ 156 #define ISC_SOCKADDR_LEN_T socklen_t 157 158 /* Define if threads need PTHREAD_SCOPE_SYSTEM */ 159 /* #undef NEED_PTHREAD_SCOPE_SYSTEM */ 160 161 /* Define if building universal (internal helper macro) */ 162 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 163 164 /* Use AES for Source Identity Token generation */ 165 #define AES_SIT 1 166 167 /* Define to enable the "filter-aaaa-on-v4" and "filter-aaaa-on-v6" options. 168 */ 169 /* #undef ALLOW_FILTER_AAAA */ 170 171 /* define if ATF unit tests are to be built. */ 172 /* #undef ATF_TEST */ 173 174 /* Define if recvmsg() does not meet all of the BSD socket API specifications. 175 */ 176 /* #undef BROKEN_RECVMSG */ 177 178 /* Define if you cannot bind() before connect() for TCP sockets. */ 179 /* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */ 180 181 /* Define to enable "rrset-order fixed" syntax. */ 182 #define DNS_RDATASET_FIXED 1 183 184 /* Define to enable rpz-nsdname rules. */ 185 #define ENABLE_RPZ_NSDNAME 1 186 187 /* Define to enable rpz-nsip rules. */ 188 #define ENABLE_RPZ_NSIP 1 189 190 /* Define to enable 'sit' support. */ 191 #define ENABLE_SIT 1 192 193 /* Solaris hack to get select_large_fdset. */ 194 /* #undef FD_SETSIZE */ 195 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 /**/ 204 205 /* Define to 1 if you have the `AES_encrypt' function. */ 206 #define HAVE_AES_ENCRYPT 1 207 208 /* Define to 1 if you have the `chroot' function. */ 209 #define HAVE_CHROOT 1 210 211 /* Define if clock_gettime is available. */ 212 #define HAVE_CLOCK_GETTIME 1 213 214 /* Define to 1 if you have the <devpoll.h> header file. */ 215 /* #undef HAVE_DEVPOLL_H */ 216 217 /* Define to 1 if you have the `dlclose' function. */ 218 #define HAVE_DLCLOSE 1 219 220 /* Define to 1 if you have the <dlfcn.h> header file. */ 221 #define HAVE_DLFCN_H 1 222 223 /* Define to 1 if you have the `dlopen' function. */ 224 #define HAVE_DLOPEN 1 225 226 /* Define to 1 if you have the `dlsym' function. */ 227 #define HAVE_DLSYM 1 228 229 /* Define to 1 if you have the `EVP_sha256' function. */ 230 #define HAVE_EVP_SHA256 1 231 232 /* Define to 1 if you have the `EVP_sha384' function. */ 233 #define HAVE_EVP_SHA384 1 234 235 /* Define to 1 if you have the `EVP_sha512' function. */ 236 #define HAVE_EVP_SHA512 1 237 238 /* Define to 1 if you have the <fcntl.h> header file. */ 239 #define HAVE_FCNTL_H 1 240 241 /* Define to 1 if you have the `fseeko' function. */ 242 #define HAVE_FSEEKO 1 243 244 /* Define to 1 if you have the `ftello' function. */ 245 #define HAVE_FTELLO 1 246 247 /* Build with GeoIP support */ 248 /* #undef HAVE_GEOIP */ 249 250 /* Build with GeoIP City IPv6 support */ 251 /* #undef HAVE_GEOIP_CITY_V6 */ 252 253 /* Build with GeoIP Country IPv6 support */ 254 /* #undef HAVE_GEOIP_V6 */ 255 256 /* Define to use gperftools CPU profiler. */ 257 /* #undef HAVE_GPERFTOOLS_PROFILER */ 258 259 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */ 260 #define HAVE_GSSAPI_GSSAPI_H 1 261 262 /* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */ 263 #define HAVE_GSSAPI_GSSAPI_KRB5_H 1 264 265 /* Define to 1 if you have the <gssapi.h> header file. */ 266 #define HAVE_GSSAPI_H 1 267 268 /* Define to 1 if you have the <gssapi_krb5.h> header file. */ 269 /* #undef HAVE_GSSAPI_KRB5_H */ 270 271 /* Define to 1 if you have the if_nametoindex function. */ 272 #define HAVE_IF_NAMETOINDEX 1 273 274 /* Define to 1 if you have the <inttypes.h> header file. */ 275 #define HAVE_INTTYPES_H 1 276 277 /* Define if libjson was found */ 278 /* #undef HAVE_JSON */ 279 280 /* Define to 1 if you have the <kerberosv5/krb5.h> header file. */ 281 /* #undef HAVE_KERBEROSV5_KRB5_H */ 282 283 /* Define to 1 if you have the <krb5.h> header file. */ 284 #define HAVE_KRB5_H 1 285 286 /* Define to 1 if you have the <krb5/krb5.h> header file. */ 287 #define HAVE_KRB5_KRB5_H 1 288 289 /* Define to 1 if you have the `c' library (-lc). */ 290 /* #undef HAVE_LIBC */ 291 292 /* Define to 1 if you have the `cap' library (-lcap). */ 293 /* #undef HAVE_LIBCAP */ 294 295 /* if system have backtrace function */ 296 /* #undef HAVE_LIBCTRACE */ 297 298 /* Define to 1 if you have the `c_r' library (-lc_r). */ 299 /* #undef HAVE_LIBC_R */ 300 301 /* Define to 1 if you have the `nsl' library (-lnsl). */ 302 /* #undef HAVE_LIBNSL */ 303 304 /* Define to 1 if you have the `pthread' library (-lpthread). */ 305 #define HAVE_LIBPTHREAD 1 306 307 /* Define to 1 if you have the `rt' library (-lrt). */ 308 #define HAVE_LIBRT 1 309 310 /* Define to 1 if you have the `scf' library (-lscf). */ 311 /* #undef HAVE_LIBSCF */ 312 313 /* Define to use libseccomp system call filtering. */ 314 /* #undef HAVE_LIBSECCOMP */ 315 316 /* Define to 1 if you have the `socket' library (-lsocket). */ 317 /* #undef HAVE_LIBSOCKET */ 318 319 /* Define to 1 if you have the `thr' library (-lthr). */ 320 /* #undef HAVE_LIBTHR */ 321 322 /* Define if libxml2 was found */ 323 /* #undef HAVE_LIBXML2 */ 324 325 /* Define to 1 if you have the <linux/capability.h> header file. */ 326 /* #undef HAVE_LINUX_CAPABILITY_H */ 327 328 /* Define to 1 if you have the <linux/netlink.h> header file. */ 329 /* #undef HAVE_LINUX_NETLINK_H */ 330 331 /* Define to 1 if you have the <linux/rtnetlink.h> header file. */ 332 /* #undef HAVE_LINUX_RTNETLINK_H */ 333 334 /* Define to 1 if you have the <linux/types.h> header file. */ 335 /* #undef HAVE_LINUX_TYPES_H */ 336 337 /* Define to 1 if you have the <locale.h> header file. */ 338 #define HAVE_LOCALE_H 1 339 340 /* Define to 1 if you have the <memory.h> header file. */ 341 #define HAVE_MEMORY_H 1 342 343 /* Define to 1 if you have the `mmap' function. */ 344 #define HAVE_MMAP 1 345 346 /* Define to 1 if you have the `nanosleep' function. */ 347 #define HAVE_NANOSLEEP 1 348 349 /* Define to 1 if you have the <net/if6.h> header file. */ 350 /* #undef HAVE_NET_IF6_H */ 351 352 /* Define to 1 if you have the <net/route.h> header file. */ 353 #define HAVE_NET_ROUTE_H 1 354 355 /* Define if your OpenSSL version supports AES */ 356 #define HAVE_OPENSSL_AES 1 357 358 /* Define if your OpenSSL version supports ECDSA. */ 359 #define HAVE_OPENSSL_ECDSA 1 360 361 /* Define if your OpenSSL version supports EVP AES */ 362 #define HAVE_OPENSSL_EVP_AES 1 363 364 /* Define if your OpenSSL version supports GOST. */ 365 #define HAVE_OPENSSL_GOST 1 366 367 /* Define if your PKCS11 provider supports ECDSA. */ 368 /* #undef HAVE_PKCS11_ECDSA */ 369 370 /* Define if your PKCS11 provider supports GOST. */ 371 /* #undef HAVE_PKCS11_GOST */ 372 373 /* Support for PTHREAD_MUTEX_ADAPTIVE_NP */ 374 /* #undef HAVE_PTHREAD_MUTEX_ADAPTIVE_NP */ 375 376 /* Define to 1 if you have the `pthread_yield' function. */ 377 /* #undef HAVE_PTHREAD_YIELD */ 378 379 /* Define to 1 if you have the `pthread_yield_np' function. */ 380 /* #undef HAVE_PTHREAD_YIELD_NP */ 381 382 /* Define to 1 if you have the `readline' function. */ 383 /* #undef HAVE_READLINE */ 384 385 /* Define to 1 if you have the <regex.h> header file. */ 386 #define HAVE_REGEX_H 1 387 388 /* Define to 1 if you have the <sched.h> header file. */ 389 #define HAVE_SCHED_H 1 390 391 /* Define to 1 if you have the `sched_yield' function. */ 392 #define HAVE_SCHED_YIELD 1 393 394 /* Define to 1 if you have the `setegid' function. */ 395 #define HAVE_SETEGID 1 396 397 /* Define to 1 if you have the `seteuid' function. */ 398 #define HAVE_SETEUID 1 399 400 /* Define to 1 if you have the `setlocale' function. */ 401 #define HAVE_SETLOCALE 1 402 403 /* Define to 1 if you have the `setresgid' function. */ 404 /* #undef HAVE_SETRESGID */ 405 406 /* Define to 1 if you have the `setresuid' function. */ 407 /* #undef HAVE_SETRESUID */ 408 409 /* Define to 1 if you have the <stdint.h> header file. */ 410 #define HAVE_STDINT_H 1 411 412 /* Define to 1 if you have the <stdlib.h> header file. */ 413 #define HAVE_STDLIB_H 1 414 415 /* Define to 1 if you have the <strings.h> header file. */ 416 #define HAVE_STRINGS_H 1 417 418 /* Define to 1 if you have the <string.h> header file. */ 419 #define HAVE_STRING_H 1 420 421 /* Define to 1 if you have the <sys/capability.h> header file. */ 422 /* #undef HAVE_SYS_CAPABILITY_H */ 423 424 /* Define to 1 if you have the <sys/devpoll.h> header file. */ 425 /* #undef HAVE_SYS_DEVPOLL_H */ 426 427 /* Define to 1 if you have the <sys/dyntune.h> header file. */ 428 /* #undef HAVE_SYS_DYNTUNE_H */ 429 430 /* Define to 1 if you have the <sys/mman.h> header file. */ 431 #define HAVE_SYS_MMAN_H 1 432 433 /* Define to 1 if you have the <sys/param.h> header file. */ 434 #define HAVE_SYS_PARAM_H 1 435 436 /* Define to 1 if you have the <sys/prctl.h> header file. */ 437 /* #undef HAVE_SYS_PRCTL_H */ 438 439 /* Define to 1 if you have the <sys/select.h> header file. */ 440 #define HAVE_SYS_SELECT_H 1 441 442 /* Define to 1 if you have the <sys/socket.h> header file. */ 443 #define HAVE_SYS_SOCKET_H 1 444 445 /* Define to 1 if you have the <sys/sockio.h> header file. */ 446 #define HAVE_SYS_SOCKIO_H 1 447 448 /* Define to 1 if you have the <sys/stat.h> header file. */ 449 #define HAVE_SYS_STAT_H 1 450 451 /* Define to 1 if you have the <sys/sysctl.h> header file. */ 452 #define HAVE_SYS_SYSCTL_H 1 453 454 /* Define to 1 if you have the <sys/time.h> header file. */ 455 #define HAVE_SYS_TIME_H 1 456 457 /* Define to 1 if you have the <sys/types.h> header file. */ 458 #define HAVE_SYS_TYPES_H 1 459 460 /* Define to 1 if you have the <sys/un.h> header file. */ 461 #define HAVE_SYS_UN_H 1 462 463 /* Define if running under Compaq TruCluster */ 464 /* #undef HAVE_TRUCLUSTER */ 465 466 /* Define to 1 if you have the <unistd.h> header file. */ 467 #define HAVE_UNISTD_H 1 468 469 /* Define to 1 if you have the `usleep' function. */ 470 #define HAVE_USLEEP 1 471 472 /* HMAC_*() return ints */ 473 /* #undef HMAC_RETURN_INT */ 474 475 /* Use HMAC-SHA1 for Source Identity Token generation */ 476 /* #undef HMAC_SHA1_SIT */ 477 478 /* Use HMAC-SHA256 for Source Identity Token generation */ 479 /* #undef HMAC_SHA256_SIT */ 480 481 /* return type of gai_strerror */ 482 #define IRS_GAISTRERROR_RETURN_T const char * 483 484 /* Define to the buffer length type used by getnameinfo(3). */ 485 #define IRS_GETNAMEINFO_BUFLEN_T socklen_t 486 487 /* Define to the flags type used by getnameinfo(3). */ 488 #define IRS_GETNAMEINFO_FLAGS_T int 489 490 /* Define to the sockaddr length type used by getnameinfo(3). */ 491 #define IRS_GETNAMEINFO_SOCKLEN_T socklen_t 492 493 /* Define to allow building of objects for dlopen(). */ 494 #define ISC_DLZ_DLOPEN 1 495 496 /* Define to the sub-directory in which libtool stores uninstalled libraries. 497 */ 498 #define LT_OBJDIR ".libs/" 499 500 /* Defined if extern char *optarg is not declared. */ 501 /* #undef NEED_OPTARG */ 502 503 /* Define if connect does not honour the permission on the UNIX domain socket. 504 */ 505 /* #undef NEED_SECURE_DIRECTORY */ 506 507 /* Define to the address where bug reports for this package should be sent. */ 508 #define PACKAGE_BUGREPORT "bind9-bugs@isc.org" 509 510 /* Define to the full name of this package. */ 511 #define PACKAGE_NAME "BIND" 512 513 /* Define to the full name and version of this package. */ 514 #define PACKAGE_STRING "BIND 9.10" 515 516 /* Define to the one symbol short name of this package. */ 517 #define PACKAGE_TARNAME "bind" 518 519 /* Define to the home page for this package. */ 520 #define PACKAGE_URL "https://www.isc.org/downloads/BIND/" 521 522 /* Define to the version of this package. */ 523 #define PACKAGE_VERSION "9.10" 524 525 /* Sets which flag to pass to open/fcntl to make non-blocking 526 (O_NDELAY/O_NONBLOCK). */ 527 #define PORT_NONBLOCK O_NONBLOCK 528 529 /* Define if GOST private keys are encoded in ASN.1. */ 530 /* #undef PREFER_GOSTASN1 */ 531 532 /* The size of `void *', as computed by sizeof. */ 533 #define SIZEOF_VOID_P 8 534 535 /* Define to 1 if you have the ANSI C header files. */ 536 #define STDC_HEADERS 1 537 538 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 539 #define TIME_WITH_SYS_TIME 1 540 541 /* Define to use large-system tuning. */ 542 /* #undef TUNE_LARGE */ 543 544 /* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make 545 non-blocking. */ 546 /* #undef USE_FIONBIO_IOCTL */ 547 548 /* define if idnkit support is to be included. */ 549 /* #undef WITH_IDN */ 550 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 565 566 /* Define to empty if `const' does not conform to ANSI C. */ 567 /* #undef const */ 568 569 /* Define to empty if your compiler does not support "static inline". */ 570 /* #undef inline */ 571 572 /* Define to `unsigned int' if <sys/types.h> does not define. */ 573 /* #undef size_t */ 574 575 /* Define to `int' if <sys/types.h> does not define. */ 576 /* #undef ssize_t */ 577 578 /* Define to `unsigned long' if <sys/types.h> does not define. */ 579 /* #undef uintptr_t */ 580 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 */ 584