freebsd-nq/lib/bind/config.h

368 lines
11 KiB
C
Raw Normal View History

/* $FreeBSD$ */
2007-12-02 19:13:58 +00:00
/* config.h. Generated from config.h.in by configure. */
2004-09-19 19:30:46 +00:00
/* config.h.in. Generated from configure.in by autoheader. */
/*
2009-05-31 00:11:36 +00:00
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
2004-09-19 19:30:46 +00:00
* Copyright (C) 1999-2003 Internet Software Consortium.
*
2009-05-31 00:11:36 +00:00
* Permission to use, copy, modify, and/or distribute this software for any
2004-09-19 19:30:46 +00:00
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: acconfig.h,v 1.51.334.2 2009/02/16 23:47:15 tbox Exp $ */
2007-06-02 23:24:14 +00:00
/*! \file */
2004-09-19 19:30:46 +00:00
/***
*** This file is not to be included by any public header files, because
*** it does not get installed.
***/
2007-06-02 23:24:14 +00:00
/** define on DEC OSF to enable 4.4BSD style sa_len support */
2004-09-19 19:30:46 +00:00
/* #undef _SOCKADDR_LEN */
2007-06-02 23:24:14 +00:00
/** define if your system needs pthread_init() before using pthreads */
2004-09-19 19:30:46 +00:00
/* #undef NEED_PTHREAD_INIT */
2007-06-02 23:24:14 +00:00
/** define if your system has sigwait() */
#define HAVE_SIGWAIT 1
2004-09-19 19:30:46 +00:00
2007-06-02 23:24:14 +00:00
/** define if sigwait() is the UnixWare flavor */
2004-09-19 19:30:46 +00:00
/* #undef HAVE_UNIXWARE_SIGWAIT */
2007-06-02 23:24:14 +00:00
/** define on Solaris to get sigwait() to work using pthreads semantics */
2004-09-19 19:30:46 +00:00
/* #undef _POSIX_PTHREAD_SEMANTICS */
2007-06-02 23:24:14 +00:00
/** define if LinuxThreads is in use */
2004-09-19 19:30:46 +00:00
/* #undef HAVE_LINUXTHREADS */
2007-06-02 23:24:14 +00:00
/** define if sysconf() is available */
#define HAVE_SYSCONF 1
2004-09-19 19:30:46 +00:00
2007-06-02 23:24:14 +00:00
/** define if sysctlbyname() is available */
2004-09-19 19:30:46 +00:00
#define HAVE_SYSCTLBYNAME 1
2007-06-02 23:24:14 +00:00
/** define if catgets() is available */
2004-09-19 19:30:46 +00:00
#define HAVE_CATGETS 1
2007-06-02 23:24:14 +00:00
/** define if getifaddrs() exists */
2004-09-19 19:30:46 +00:00
#define HAVE_GETIFADDRS 1
2007-06-02 23:24:14 +00:00
/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
2004-09-19 19:30:46 +00:00
#define HAVE_IFLIST_SYSCTL 1
2007-06-02 23:24:14 +00:00
/** define if tzset() is available */
2004-09-19 19:30:46 +00:00
#define HAVE_TZSET 1
2007-06-02 23:24:14 +00:00
/** define if struct addrinfo exists */
2004-09-19 19:30:46 +00:00
#define HAVE_ADDRINFO 1
2007-06-02 23:24:14 +00:00
/** define if getaddrinfo() exists */
2004-09-19 19:30:46 +00:00
#define HAVE_GETADDRINFO 1
2007-06-02 23:24:14 +00:00
/** define if gai_strerror() exists */
2004-09-19 19:30:46 +00:00
#define HAVE_GAISTRERROR 1
2007-06-02 23:24:14 +00:00
/** define if arc4random() exists */
2004-09-19 19:30:46 +00:00
#define HAVE_ARC4RANDOM 1
2007-06-02 23:24:14 +00:00
/**
* define if pthread_setconcurrency() should be called to tell the
2004-09-19 19:30:46 +00:00
* OS how many threads we might want to run.
*/
/* #undef CALL_PTHREAD_SETCONCURRENCY */
2007-06-02 23:24:14 +00:00
/** define if IPv6 is not disabled */
2004-09-19 19:30:46 +00:00
/* #undef WANT_IPV6 */
2007-06-02 23:24:14 +00:00
/** define if flockfile() is available */
2004-09-19 19:30:46 +00:00
#define HAVE_FLOCKFILE 1
2007-06-02 23:24:14 +00:00
/** define if getc_unlocked() is available */
2004-09-19 19:30:46 +00:00
#define HAVE_GETCUNLOCKED 1
2007-06-02 23:24:14 +00:00
/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
2004-09-19 19:30:46 +00:00
/* #undef SHUTUP_SPUTAUX */
#ifdef SHUTUP_SPUTAUX
struct __sFILE;
extern __inline int __sputaux(int _c, struct __sFILE *_p);
#endif
2007-06-02 23:24:14 +00:00
/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
2004-09-19 19:30:46 +00:00
/* #undef SHUTUP_SIGWAIT */
#ifdef SHUTUP_SIGWAIT
int sigwait(const unsigned int *set, int *sig);
#endif
2007-06-02 23:24:14 +00:00
/** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
2004-09-19 19:30:46 +00:00
/* #undef SHUTUP_STDARG_CAST */
#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
2007-06-02 23:24:14 +00:00
#include <stdarg.h> /** Grr. Must be included *every time*. */
/**
2004-09-19 19:30:46 +00:00
* The silly continuation line is to keep configure from
* commenting out the #undef.
*/
2009-05-31 00:11:36 +00:00
2004-09-19 19:30:46 +00:00
#undef \
va_start
#define va_start(ap, last) \
do { \
union { const void *konst; long *var; } _u; \
_u.konst = &(last); \
ap = (va_list)(_u.var + __va_words(__typeof(last))); \
} while (0)
2007-06-02 23:24:14 +00:00
#endif /** SHUTUP_STDARG_CAST && __GNUC__ */
2004-09-19 19:30:46 +00:00
2007-06-02 23:24:14 +00:00
/** define if the system has a random number generating device */
2004-09-19 19:30:46 +00:00
#define PATH_RANDOMDEV "/dev/random"
2007-06-02 23:24:14 +00:00
/** define if pthread_attr_getstacksize() is available */
#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
2004-09-19 19:30:46 +00:00
2007-06-02 23:24:14 +00:00
/** define if pthread_attr_setstacksize() is available */
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
2004-09-19 19:30:46 +00:00
2007-06-02 23:24:14 +00:00
/** define if you have strerror in the C library. */
2004-09-19 19:30:46 +00:00
#define HAVE_STRERROR 1
2007-06-02 23:24:14 +00:00
/** Define if you are running under Compaq TruCluster. */
2004-09-19 19:30:46 +00:00
/* #undef HAVE_TRUCLUSTER */
/* Define if OpenSSL includes DSA support */
#define HAVE_OPENSSL_DSA 1
2005-03-17 08:39:12 +00:00
/* Define to the length type used by the socket API (socklen_t, size_t, int). */
#define ISC_SOCKADDR_LEN_T socklen_t
/* Define if threads need PTHREAD_SCOPE_SYSTEM */
/* #undef NEED_PTHREAD_SCOPE_SYSTEM */
2010-10-31 04:45:25 +00:00
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Define if recvmsg() does not meet all of the BSD socket API specifications.
*/
/* #undef BROKEN_RECVMSG */
/* Define if you cannot bind() before connect() for TCP sockets. */
/* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */
2009-05-31 00:11:36 +00:00
/* Define to enable "rrset-order fixed" syntax. */
/* #undef DNS_RDATASET_FIXED */
2009-05-31 00:11:36 +00:00
2008-12-23 22:50:39 +00:00
/* Solaris hack to get select_large_fdset. */
/* #undef FD_SETSIZE */
2009-05-31 00:11:36 +00:00
/* Define to 1 if you have the `chroot' function. */
#define HAVE_CHROOT 1
2008-12-23 22:50:39 +00:00
2007-12-02 19:13:58 +00:00
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
2007-12-02 19:13:58 +00:00
2010-03-02 19:49:55 +00:00
/* Define to 1 if you have the `EVP_sha256' function. */
#define HAVE_EVP_SHA256 1
2010-03-02 19:49:55 +00:00
/* Define to 1 if you have the `EVP_sha512' function. */
#define HAVE_EVP_SHA512 1
2010-03-02 19:49:55 +00:00
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
2009-05-31 00:11:36 +00:00
/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
/* #undef HAVE_GSSAPI_GSSAPI_H */
2009-05-31 00:11:36 +00:00
/* Define to 1 if you have the <gssapi.h> header file. */
/* #undef HAVE_GSSAPI_H */
2009-05-31 00:11:36 +00:00
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `c' library (-lc). */
/* #undef HAVE_LIBC */
2009-05-31 00:11:36 +00:00
/* Define to 1 if you have the `cap' library (-lcap). */
/* #undef HAVE_LIBCAP */
2009-05-31 00:11:36 +00:00
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the `c_r' library (-lc_r). */
/* #undef HAVE_LIBC_R */
/* Define to 1 if you have the `nsl' library (-lnsl). */
/* #undef HAVE_LIBNSL */
/* Define to 1 if you have the `pthread' library (-lpthread). */
/* #undef HAVE_LIBPTHREAD */
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the `scf' library (-lscf). */
/* #undef HAVE_LIBSCF */
/* Define to 1 if you have the `socket' library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
/* Define to 1 if you have the `thr' library (-lthr). */
/* #undef HAVE_LIBTHR */
2009-05-31 00:11:36 +00:00
/* Define if libxml2 was found */
/* #undef HAVE_LIBXML2 */
2009-05-31 00:11:36 +00:00
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the <linux/capability.h> header file. */
/* #undef HAVE_LINUX_CAPABILITY_H */
2007-06-02 23:24:14 +00:00
/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
2009-05-31 00:11:36 +00:00
/* Define to 1 if you have the `nanosleep' function. */
#define HAVE_NANOSLEEP 1
2009-05-31 00:11:36 +00:00
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the <net/if6.h> header file. */
/* #undef HAVE_NET_IF6_H */
2007-06-02 23:24:14 +00:00
/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
2008-12-23 22:50:39 +00:00
/* Define to 1 if you have the <sys/capability.h> header file. */
/* #undef HAVE_SYS_CAPABILITY_H */
/* Define to 1 if you have the <sys/devpoll.h> header file. */
/* #undef HAVE_SYS_DEVPOLL_H */
/* Define to 1 if you have the <sys/dyntune.h> header file. */
/* #undef HAVE_SYS_DYNTUNE_H */
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/prctl.h> header file. */
/* #undef HAVE_SYS_PRCTL_H */
/* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1
/* Define to 1 if you have the <sys/sockio.h> header file. */
#define HAVE_SYS_SOCKIO_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/sysctl.h> header file. */
#define HAVE_SYS_SYSCTL_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
2007-06-02 23:24:14 +00:00
/* Define to 1 if you have the <sys/un.h> header file. */
#define HAVE_SYS_UN_H 1
2004-09-19 19:30:46 +00:00
/* Define if running under Compaq TruCluster */
/* #undef HAVE_TRUCLUSTER */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"
2008-12-23 19:18:41 +00:00
/* Defined if extern char *optarg is not declared. */
/* #undef NEED_OPTARG */
2007-06-02 23:24:14 +00:00
/* Define if connect does not honour the permission on the UNIX domain socket.
*/
/* #undef NEED_SECURE_DIRECTORY */
2004-09-19 19:30:46 +00:00
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
2010-10-31 04:45:25 +00:00
/* Define to the home page for this package. */
#define PACKAGE_URL ""
2004-09-19 19:30:46 +00:00
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* Sets which flag to pass to open/fcntl to make non-blocking
(O_NDELAY/O_NONBLOCK). */
#define PORT_NONBLOCK O_NONBLOCK
2004-09-19 19:30:46 +00:00
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
non-blocking. */
/* #undef USE_FIONBIO_IOCTL */
2007-06-02 23:24:14 +00:00
/* define if idnkit support is to be included. */
/* #undef WITH_IDN */
2008-09-01 22:55:23 +00:00
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
2010-10-31 04:45:25 +00:00
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
/* # undef WORDS_BIGENDIAN */
# endif
2008-09-01 22:55:23 +00:00
#endif
2004-09-19 19:30:46 +00:00
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
2008-12-23 22:50:39 +00:00
#define inline /**/
#endif
2004-09-19 19:30:46 +00:00
2007-12-02 19:13:58 +00:00
/* Define to `unsigned int' if <sys/types.h> does not define. */
2004-09-19 19:30:46 +00:00
/* #undef size_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to `unsigned long' if <sys/types.h> does not define. */
/* #undef uintptr_t */
2008-12-23 22:50:39 +00:00
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
/* #undef volatile */