config.h revision 224093
1133819Stjr/* $FreeBSD: head/lib/bind/config.h 224093 2011-07-16 11:20:54Z dougb $ */ 2133819Stjr 3133819Stjr/* config.h. Generated from config.h.in by configure. */ 4230132Suqs/* config.h.in. Generated from configure.in by autoheader. */ 5133819Stjr/* 6133819Stjr * Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC") 7133819Stjr * Copyright (C) 1999-2003 Internet Software Consortium. 8133819Stjr * 9133819Stjr * Permission to use, copy, modify, and/or distribute this software for any 10133819Stjr * purpose with or without fee is hereby granted, provided that the above 11167157Sjkim * copyright notice and this permission notice appear in all copies. 12133819Stjr * 13133819Stjr * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 14133819Stjr * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 15133819Stjr * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 16133819Stjr * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 17133819Stjr * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 18133819Stjr * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19133819Stjr * PERFORMANCE OF THIS SOFTWARE. 20133819Stjr */ 21133819Stjr 22133819Stjr/* $Id: acconfig.h,v 1.53 2008-12-01 23:47:44 tbox Exp $ */ 23133819Stjr 24133819Stjr/*! \file */ 25133819Stjr 26133819Stjr/*** 27133819Stjr *** This file is not to be included by any public header files, because 28133819Stjr *** it does not get installed. 29133819Stjr ***/ 30133819Stjr 31133819Stjr/** define on DEC OSF to enable 4.4BSD style sa_len support */ 32133819Stjr/* #undef _SOCKADDR_LEN */ 33167157Sjkim 34167157Sjkim/** define if your system needs pthread_init() before using pthreads */ 35133819Stjr/* #undef NEED_PTHREAD_INIT */ 36283474Sdchagin 37133819Stjr/** define if your system has sigwait() */ 38133819Stjr#define HAVE_SIGWAIT 1 39133819Stjr 40133819Stjr/** define if sigwait() is the UnixWare flavor */ 41133819Stjr/* #undef HAVE_UNIXWARE_SIGWAIT */ 42133819Stjr 43290143Sjhb/** define on Solaris to get sigwait() to work using pthreads semantics */ 44283369Sdchagin/* #undef _POSIX_PTHREAD_SEMANTICS */ 45283369Sdchagin 46283369Sdchagin/** define if LinuxThreads is in use */ 47283369Sdchagin/* #undef HAVE_LINUXTHREADS */ 48235063Snetchild 49133819Stjr/** define if sysconf() is available */ 50219609Sdchagin#define HAVE_SYSCONF 1 51219609Sdchagin 52219609Sdchagin/** define if sysctlbyname() is available */ 53219609Sdchagin#define HAVE_SYSCTLBYNAME 1 54133819Stjr 55167157Sjkim/** define if catgets() is available */ 56167157Sjkim#define HAVE_CATGETS 1 57167157Sjkim 58167157Sjkim/** define if getifaddrs() exists */ 59133819Stjr#define HAVE_GETIFADDRS 1 60133819Stjr 61133819Stjr/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */ 62133819Stjr#define HAVE_IFLIST_SYSCTL 1 63271743Sbz 64271743Sbz/** define if tzset() is available */ 65271743Sbz#define HAVE_TZSET 1 66271743Sbz 67271743Sbz/** define if struct addrinfo exists */ 68133819Stjr#define HAVE_ADDRINFO 1 69133819Stjr 70133819Stjr/** define if getaddrinfo() exists */ 71133819Stjr#define HAVE_GETADDRINFO 1 72133819Stjr 73133819Stjr/** define if gai_strerror() exists */ 74133819Stjr#define HAVE_GAISTRERROR 1 75133819Stjr 76133819Stjr/** define if arc4random() exists */ 77133819Stjr#define HAVE_ARC4RANDOM 1 78133819Stjr 79133819Stjr/** 80133819Stjr * define if pthread_setconcurrency() should be called to tell the 81133819Stjr * OS how many threads we might want to run. 82133819Stjr */ 83133819Stjr/* #undef CALL_PTHREAD_SETCONCURRENCY */ 84133819Stjr 85133819Stjr/** define if IPv6 is not disabled */ 86133819Stjr/* #undef WANT_IPV6 */ 87133819Stjr 88133819Stjr/** define if flockfile() is available */ 89133819Stjr#define HAVE_FLOCKFILE 1 90190472Sambrisko 91133819Stjr/** define if getc_unlocked() is available */ 92133819Stjr#define HAVE_GETCUNLOCKED 1 93133819Stjr 94133819Stjr/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */ 95133819Stjr/* #undef SHUTUP_SPUTAUX */ 96133819Stjr#ifdef SHUTUP_SPUTAUX 97184058Skibstruct __sFILE; 98184058Skibextern __inline int __sputaux(int _c, struct __sFILE *_p); 99283443Sdchagin#endif 100133819Stjr 101133819Stjr/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */ 102133819Stjr/* #undef SHUTUP_SIGWAIT */ 103133819Stjr#ifdef SHUTUP_SIGWAIT 104133819Stjrint sigwait(const unsigned int *set, int *sig); 105133819Stjr#endif 106133819Stjr 107133819Stjr/** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */ 108191989Sdchagin/* #undef SHUTUP_STDARG_CAST */ 109133819Stjr#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__) 110133819Stjr#include <stdarg.h> /** Grr. Must be included *every time*. */ 111133819Stjr/** 112133819Stjr * The silly continuation line is to keep configure from 113133819Stjr * commenting out the #undef. 114133819Stjr */ 115283431Sdchagin 116189362Sdchagin#undef \ 117189362Sdchagin va_start 118189362Sdchagin#define va_start(ap, last) \ 119133819Stjr do { \ 120133819Stjr union { const void *konst; long *var; } _u; \ 121133819Stjr _u.konst = &(last); \ 122133819Stjr ap = (va_list)(_u.var + __va_words(__typeof(last))); \ 123133819Stjr } while (0) 124133819Stjr#endif /** SHUTUP_STDARG_CAST && __GNUC__ */ 125133819Stjr 126133819Stjr/** define if the system has a random number generating device */ 127133819Stjr#define PATH_RANDOMDEV "/dev/random" 128133819Stjr 129133819Stjr/** define if pthread_attr_getstacksize() is available */ 130133819Stjr#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1 131133819Stjr 132133819Stjr/** define if pthread_attr_setstacksize() is available */ 133133819Stjr#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 134133819Stjr 135133819Stjr/** define if you have strerror in the C library. */ 136133819Stjr#define HAVE_STRERROR 1 137133819Stjr 138133819Stjr/** Define if you are running under Compaq TruCluster. */ 139133819Stjr/* #undef HAVE_TRUCLUSTER */ 140167157Sjkim 141133819Stjr/* Define if OpenSSL includes DSA support */ 142133819Stjr#define HAVE_OPENSSL_DSA 1 143133819Stjr 144133819Stjr/* Define to the length type used by the socket API (socklen_t, size_t, int). */ 145133819Stjr#define ISC_SOCKADDR_LEN_T socklen_t 146133819Stjr 147133819Stjr/* Define if threads need PTHREAD_SCOPE_SYSTEM */ 148133819Stjr/* #undef NEED_PTHREAD_SCOPE_SYSTEM */ 149133819Stjr 150133819Stjr/* Define if building universal (internal helper macro) */ 151133819Stjr/* #undef AC_APPLE_UNIVERSAL_BUILD */ 152133819Stjr 153133819Stjr/* Define to enable the "filter-aaaa-on-v4" option. */ 154133819Stjr/* #undef ALLOW_FILTER_AAAA_ON_V4 */ 155133819Stjr 156133819Stjr/* Define if recvmsg() does not meet all of the BSD socket API specifications. 157133819Stjr */ 158133819Stjr/* #undef BROKEN_RECVMSG */ 159133819Stjr 160133819Stjr/* Define if you cannot bind() before connect() for TCP sockets. */ 161133819Stjr/* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */ 162133819Stjr 163133819Stjr/* Define to enable "rrset-order fixed" syntax. */ 164133819Stjr/* #undef DNS_RDATASET_FIXED */ 165133819Stjr 166133819Stjr/* Define to enable rpz-nsdname rules. */ 167133819Stjr/* #undef ENABLE_RPZ_NSDNAME */ 168166727Sjkim 169166727Sjkim/* Define to enable rpz-nsip rules. */ 170166727Sjkim/* #undef ENABLE_RPZ_NSIP */ 171166727Sjkim 172166727Sjkim/* Solaris hack to get select_large_fdset. */ 173166727Sjkim/* #undef FD_SETSIZE */ 174190472Sambrisko 175190472Sambrisko/* Define to nothing if C supports flexible array members, and to 1 if it does 176166727Sjkim not. That way, with a declaration like `struct s { int n; double 177133819Stjr d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 178133819Stjr compilers. When computing the size of such an object, don't use 'sizeof 179133819Stjr (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)' 180133819Stjr instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with 181165408Sjkim MSVC and with C++ compilers. */ 182165408Sjkim#define FLEXIBLE_ARRAY_MEMBER /**/ 183133819Stjr 184133819Stjr/* Define to 1 if you have the `chroot' function. */ 185133819Stjr#define HAVE_CHROOT 1 186133819Stjr 187133819Stjr/* Define to 1 if you have the <devpoll.h> header file. */ 188133819Stjr/* #undef HAVE_DEVPOLL_H */ 189133819Stjr 190133819Stjr/* Define to 1 if you have the <dlfcn.h> header file. */ 191133819Stjr#define HAVE_DLFCN_H 1 192133819Stjr 193133819Stjr/* Define to 1 if you have the `EVP_sha256' function. */ 194133819Stjr#define HAVE_EVP_SHA256 1 195133819Stjr 196133819Stjr/* Define to 1 if you have the `EVP_sha512' function. */ 197133819Stjr#define HAVE_EVP_SHA512 1 198205792Sed 199205792Sed/* Define to 1 if you have the <fcntl.h> header file. */ 200205792Sed#define HAVE_FCNTL_H 1 201133819Stjr 202133819Stjr/* Define to 1 if you have the <gssapi/gssapi.h> header file. */ 203133819Stjr/* #undef HAVE_GSSAPI_GSSAPI_H */ 204133819Stjr 205156843Snetchild/* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */ 206167157Sjkim/* #undef HAVE_GSSAPI_GSSAPI_KRB5_H */ 207167157Sjkim 208167157Sjkim/* Define to 1 if you have the <gssapi.h> header file. */ 209167157Sjkim/* #undef HAVE_GSSAPI_H */ 210167157Sjkim 211167157Sjkim/* Define to 1 if you have the <gssapi_krb5.h> header file. */ 212167157Sjkim/* #undef HAVE_GSSAPI_KRB5_H */ 213167157Sjkim 214205792Sed/* Define to 1 if you have the <inttypes.h> header file. */ 215205792Sed#define HAVE_INTTYPES_H 1 216205792Sed 217167157Sjkim/* Define to 1 if you have the <kerberosv5/krb5.h> header file. */ 218167157Sjkim/* #undef HAVE_KERBEROSV5_KRB5_H */ 219167157Sjkim 220167157Sjkim/* Define to 1 if you have the <krb5.h> header file. */ 221156843Snetchild/* #undef HAVE_KRB5_H */ 222156843Snetchild 223133819Stjr/* Define to 1 if you have the <krb5/krb5.h> header file. */ 224133819Stjr/* #undef HAVE_KRB5_KRB5_H */ 225133819Stjr 226133819Stjr/* Define to 1 if you have the `c' library (-lc). */ 227133819Stjr/* #undef HAVE_LIBC */ 228133819Stjr 229133819Stjr/* Define to 1 if you have the `cap' library (-lcap). */ 230133819Stjr/* #undef HAVE_LIBCAP */ 231133819Stjr 232133819Stjr/* if system have backtrace function */ 233133819Stjr/* #undef HAVE_LIBCTRACE */ 234133819Stjr 235133819Stjr/* Define to 1 if you have the `c_r' library (-lc_r). */ 236133819Stjr/* #undef HAVE_LIBC_R */ 237205792Sed 238205792Sed/* Define to 1 if you have the `nsl' library (-lnsl). */ 239205792Sed/* #undef HAVE_LIBNSL */ 240133819Stjr 241133819Stjr/* Define to 1 if you have the `pthread' library (-lpthread). */ 242133819Stjr/* #undef HAVE_LIBPTHREAD */ 243172220Sdwmalone 244172220Sdwmalone/* Define to 1 if you have the `scf' library (-lscf). */ 245172220Sdwmalone/* #undef HAVE_LIBSCF */ 246172220Sdwmalone 247172220Sdwmalone/* Define to 1 if you have the `socket' library (-lsocket). */ 248172220Sdwmalone/* #undef HAVE_LIBSOCKET */ 249172220Sdwmalone 250172220Sdwmalone/* Define to 1 if you have the `thr' library (-lthr). */ 251172220Sdwmalone/* #undef HAVE_LIBTHR */ 252172220Sdwmalone 253315543Strasz/* Define if libxml2 was found */ 254315543Strasz/* #undef HAVE_LIBXML2 */ 255315543Strasz 256172220Sdwmalone/* Define to 1 if you have the <linux/capability.h> header file. */ 257172220Sdwmalone/* #undef HAVE_LINUX_CAPABILITY_H */ 258133819Stjr 259133819Stjr/* Define to 1 if you have the <locale.h> header file. */ 260133819Stjr#define HAVE_LOCALE_H 1 261133819Stjr 262133819Stjr/* Define to 1 if you have the <memory.h> header file. */ 263133819Stjr#define HAVE_MEMORY_H 1 264133819Stjr 265133819Stjr/* Define to 1 if you have the `nanosleep' function. */ 266133819Stjr#define HAVE_NANOSLEEP 1 267133819Stjr 268133819Stjr/* Define to 1 if you have the <net/if6.h> header file. */ 269133819Stjr/* #undef HAVE_NET_IF6_H */ 270133819Stjr 271133819Stjr/* Define if your OpenSSL version supports GOST. */ 272133819Stjr/* #undef HAVE_OPENSSL_GOST */ 273133819Stjr 274133819Stjr/* Define to 1 if you have the <regex.h> header file. */ 275167157Sjkim#define HAVE_REGEX_H 1 276133819Stjr 277133819Stjr/* Define to 1 if you have the `setegid' function. */ 278133819Stjr#define HAVE_SETEGID 1 279133819Stjr 280133819Stjr/* Define to 1 if you have the `seteuid' function. */ 281133819Stjr#define HAVE_SETEUID 1 282133819Stjr 283133819Stjr/* Define to 1 if you have the `setlocale' function. */ 284133819Stjr#define HAVE_SETLOCALE 1 285133819Stjr 286133819Stjr/* Define to 1 if you have the `setresgid' function. */ 287133819Stjr#define HAVE_SETRESGID 1 288133819Stjr 289133819Stjr/* Define to 1 if you have the `setresuid' function. */ 290133819Stjr#define HAVE_SETRESUID 1 291133819Stjr 292133819Stjr/* Define to 1 if you have the <stdint.h> header file. */ 293133819Stjr#define HAVE_STDINT_H 1 294133819Stjr 295133819Stjr/* Define to 1 if you have the <stdlib.h> header file. */ 296133819Stjr#define HAVE_STDLIB_H 1 297133819Stjr 298133819Stjr/* Define to 1 if you have the <strings.h> header file. */ 299133819Stjr#define HAVE_STRINGS_H 1 300133819Stjr 301133819Stjr/* Define to 1 if you have the <string.h> header file. */ 302217991Skib#define HAVE_STRING_H 1 303217991Skib 304217991Skib/* Define to 1 if you have the <sys/capability.h> header file. */ 305217991Skib/* #undef HAVE_SYS_CAPABILITY_H */ 306217991Skib 307217991Skib/* Define to 1 if you have the <sys/devpoll.h> header file. */ 308217991Skib/* #undef HAVE_SYS_DEVPOLL_H */ 309217991Skib 310217991Skib/* Define to 1 if you have the <sys/dyntune.h> header file. */ 311217991Skib/* #undef HAVE_SYS_DYNTUNE_H */ 312217991Skib 313217991Skib/* Define to 1 if you have the <sys/param.h> header file. */ 314217991Skib#define HAVE_SYS_PARAM_H 1 315217991Skib 316217991Skib/* Define to 1 if you have the <sys/prctl.h> header file. */ 317217991Skib/* #undef HAVE_SYS_PRCTL_H */ 318217991Skib 319217991Skib/* Define to 1 if you have the <sys/select.h> header file. */ 320217991Skib#define HAVE_SYS_SELECT_H 1 321217991Skib 322217991Skib/* Define to 1 if you have the <sys/sockio.h> header file. */ 323217991Skib#define HAVE_SYS_SOCKIO_H 1 324133819Stjr 325133819Stjr/* Define to 1 if you have the <sys/stat.h> header file. */ 326133819Stjr#define HAVE_SYS_STAT_H 1 327133819Stjr 328133819Stjr/* Define to 1 if you have the <sys/sysctl.h> header file. */ 329133819Stjr#define HAVE_SYS_SYSCTL_H 1 330133819Stjr 331167157Sjkim/* Define to 1 if you have the <sys/time.h> header file. */ 332133819Stjr#define HAVE_SYS_TIME_H 1 333133819Stjr 334167157Sjkim/* Define to 1 if you have the <sys/types.h> header file. */ 335167157Sjkim#define HAVE_SYS_TYPES_H 1 336133819Stjr 337184058Skib/* Define to 1 if you have the <sys/un.h> header file. */ 338164066Sjhb#define HAVE_SYS_UN_H 1 339164066Sjhb 340184058Skib/* Define if running under Compaq TruCluster */ 341164066Sjhb/* #undef HAVE_TRUCLUSTER */ 342133819Stjr 343133819Stjr/* Define to 1 if you have the <unistd.h> header file. */ 344133819Stjr#define HAVE_UNISTD_H 1 345133819Stjr 346133819Stjr/* return type of gai_strerror */ 347133819Stjr#define IRS_GAISTRERROR_RETURN_T const char * 348133819Stjr 349133819Stjr/* Define to the buffer length type used by getnameinfo(3). */ 350133819Stjr#define IRS_GETNAMEINFO_BUFLEN_T size_t 351184058Skib 352133819Stjr/* Define to the flags type used by getnameinfo(3). */ 353133819Stjr#define IRS_GETNAMEINFO_FLAGS_T int 354133819Stjr 355184058Skib/* Define to the sub-directory in which libtool stores uninstalled libraries. 356184058Skib */ 357184058Skib#define LT_OBJDIR ".libs/" 358184058Skib 359184058Skib/* Defined if extern char *optarg is not declared. */ 360133819Stjr/* #undef NEED_OPTARG */ 361133819Stjr 362133819Stjr/* Define if connect does not honour the permission on the UNIX domain socket. 363133819Stjr */ 364184058Skib/* #undef NEED_SECURE_DIRECTORY */ 365184058Skib 366133819Stjr/* Define to the address where bug reports for this package should be sent. */ 367133819Stjr#define PACKAGE_BUGREPORT "" 368133819Stjr 369133819Stjr/* Define to the full name of this package. */ 370184058Skib#define PACKAGE_NAME "" 371133819Stjr 372133819Stjr/* Define to the full name and version of this package. */ 373133819Stjr#define PACKAGE_STRING "" 374133819Stjr 375133819Stjr/* Define to the one symbol short name of this package. */ 376133819Stjr#define PACKAGE_TARNAME "" 377167157Sjkim 378133819Stjr/* Define to the home page for this package. */ 379133819Stjr#define PACKAGE_URL "" 380133819Stjr 381184058Skib/* Define to the version of this package. */ 382133819Stjr#define PACKAGE_VERSION "" 383133819Stjr 384133819Stjr/* Sets which flag to pass to open/fcntl to make non-blocking 385133819Stjr (O_NDELAY/O_NONBLOCK). */ 386133819Stjr#define PORT_NONBLOCK O_NONBLOCK 387167157Sjkim 388167157Sjkim/* Define to 1 if you have the ANSI C header files. */ 389184058Skib#define STDC_HEADERS 1 390184058Skib 391184058Skib/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 392167157Sjkim#define TIME_WITH_SYS_TIME 1 393167157Sjkim 394167157Sjkim/* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make 395167157Sjkim non-blocking. */ 396167157Sjkim/* #undef USE_FIONBIO_IOCTL */ 397167157Sjkim 398167157Sjkim/* define if idnkit support is to be included. */ 399167157Sjkim/* #undef WITH_IDN */ 400167157Sjkim 401133819Stjr/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 402133819Stjr significant byte first (like Motorola and SPARC, unlike Intel). */ 403167157Sjkim#if defined AC_APPLE_UNIVERSAL_BUILD 404167157Sjkim# if defined __BIG_ENDIAN__ 405133819Stjr# define WORDS_BIGENDIAN 1 406133819Stjr# endif 407133819Stjr#else 408167157Sjkim# ifndef WORDS_BIGENDIAN 409167157Sjkim/* # undef WORDS_BIGENDIAN */ 410167157Sjkim# endif 411133819Stjr#endif 412133819Stjr 413133819Stjr/* Define to empty if `const' does not conform to ANSI C. */ 414167157Sjkim/* #undef const */ 415133819Stjr 416133819Stjr/* Define to empty if your compiler does not support "static inline". */ 417133819Stjr#define inline /**/ 418133819Stjr 419133819Stjr/* Define to `unsigned int' if <sys/types.h> does not define. */ 420133819Stjr/* #undef size_t */ 421133819Stjr 422133819Stjr/* Define to `int' if <sys/types.h> does not define. */ 423133819Stjr/* #undef ssize_t */ 424133819Stjr 425133819Stjr/* Define to `unsigned long' if <sys/types.h> does not define. */ 426133819Stjr/* #undef uintptr_t */ 427133819Stjr 428167157Sjkim/* Define to empty if the keyword `volatile' does not work. Warning: valid 429133819Stjr code using `volatile' can become incorrect without. Disable with care. */ 430133819Stjr/* #undef volatile */ 431167157Sjkim