config.h revision 165077
1/* $FreeBSD: head/lib/bind/config.h 165077 2006-12-10 07:11:04Z dougb $ */ 2 3/* config.h. Generated by configure. */ 4/* config.h.in. Generated from configure.in by autoheader. */ 5/* 6 * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") 7 * Copyright (C) 1999-2003 Internet Software Consortium. 8 * 9 * Permission to use, copy, modify, and distribute this software for any 10 * purpose with or without fee is hereby granted, provided that the above 11 * copyright notice and this permission notice appear in all copies. 12 * 13 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 14 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 15 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 16 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 17 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 18 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19 * PERFORMANCE OF THIS SOFTWARE. 20 */ 21 22/* $Id: acconfig.h,v 1.35.2.4.2.10 2004/12/04 06:50:02 marka Exp $ */ 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 to `int' if <sys/types.h> doesn't define. */ 30/* #undef ssize_t */ 31 32/* define on DEC OSF to enable 4.4BSD style sa_len support */ 33/* #undef _SOCKADDR_LEN */ 34 35/* define if your system needs pthread_init() before using pthreads */ 36/* #undef NEED_PTHREAD_INIT */ 37 38/* define if your system has sigwait() */ 39/* #undef HAVE_SIGWAIT */ 40 41/* define if sigwait() is the UnixWare flavor */ 42/* #undef HAVE_UNIXWARE_SIGWAIT */ 43 44/* define on Solaris to get sigwait() to work using pthreads semantics */ 45/* #undef _POSIX_PTHREAD_SEMANTICS */ 46 47/* define if LinuxThreads is in use */ 48/* #undef HAVE_LINUXTHREADS */ 49 50/* define if sysconf() is available */ 51/* #undef HAVE_SYSCONF */ 52 53/* define if sysctlbyname() is available */ 54#define HAVE_SYSCTLBYNAME 1 55 56/* define if catgets() is available */ 57#define HAVE_CATGETS 1 58 59/* define if getifaddrs() exists */ 60#define HAVE_GETIFADDRS 1 61 62/* define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */ 63#define HAVE_IFLIST_SYSCTL 1 64 65/* define if chroot() is available */ 66#define HAVE_CHROOT 1 67 68/* define if tzset() is available */ 69#define HAVE_TZSET 1 70 71/* define if struct addrinfo exists */ 72#define HAVE_ADDRINFO 1 73 74/* define if getaddrinfo() exists */ 75#define HAVE_GETADDRINFO 1 76 77/* define if gai_strerror() exists */ 78#define HAVE_GAISTRERROR 1 79 80/* define if arc4random() exists */ 81#define HAVE_ARC4RANDOM 1 82 83/* define if pthread_setconcurrency() should be called to tell the 84 * OS how many threads we might want to run. 85 */ 86/* #undef CALL_PTHREAD_SETCONCURRENCY */ 87 88/* define if IPv6 is not disabled */ 89/* #undef WANT_IPV6 */ 90 91/* define if flockfile() is available */ 92#define HAVE_FLOCKFILE 1 93 94/* define if getc_unlocked() is available */ 95#define HAVE_GETCUNLOCKED 1 96 97/* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */ 98/* #undef SHUTUP_SPUTAUX */ 99#ifdef SHUTUP_SPUTAUX 100struct __sFILE; 101extern __inline int __sputaux(int _c, struct __sFILE *_p); 102#endif 103 104/* Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */ 105/* #undef SHUTUP_SIGWAIT */ 106#ifdef SHUTUP_SIGWAIT 107int sigwait(const unsigned int *set, int *sig); 108#endif 109 110/* Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */ 111/* #undef SHUTUP_STDARG_CAST */ 112#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__) 113#include <stdarg.h> /* Grr. Must be included *every time*. */ 114/* 115 * The silly continuation line is to keep configure from 116 * commenting out the #undef. 117 */ 118#undef \ 119 va_start 120#define va_start(ap, last) \ 121 do { \ 122 union { const void *konst; long *var; } _u; \ 123 _u.konst = &(last); \ 124 ap = (va_list)(_u.var + __va_words(__typeof(last))); \ 125 } while (0) 126#endif /* SHUTUP_STDARG_CAST && __GNUC__ */ 127 128/* define if the system has a random number generating device */ 129#define PATH_RANDOMDEV "/dev/random" 130 131/* define if pthread_attr_getstacksize() is available */ 132/* #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE */ 133 134/* define if pthread_attr_setstacksize() is available */ 135/* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */ 136 137/* define if you have strerror in the C library. */ 138#define HAVE_STRERROR 1 139 140/* Define if you are running under Compaq TruCluster. */ 141/* #undef HAVE_TRUCLUSTER */ 142 143/* Define if OpenSSL includes DSA support */ 144#define HAVE_OPENSSL_DSA 1 145 146/* Define to the length type used by the socket API (socklen_t, size_t, int). */ 147#define ISC_SOCKADDR_LEN_T socklen_t 148 149/* Define if threads need PTHREAD_SCOPE_SYSTEM */ 150/* #undef NEED_PTHREAD_SCOPE_SYSTEM */ 151 152/* Define if recvmsg() does not meet all of the BSD socket API specifications. 153 */ 154/* #undef BROKEN_RECVMSG */ 155 156/* Define if you cannot bind() before connect() for TCP sockets. */ 157/* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */ 158 159/* Define if libcrypto has DH_generate_parameters */ 160#define HAVE_DH_GENERATE_PARAMETERS 1 161 162/* Define if libcrypto has DSA_generate_parameters */ 163#define HAVE_DSA_GENERATE_PARAMETERS 1 164 165/* Define to 1 if you have the <fcntl.h> header file. */ 166#define HAVE_FCNTL_H 1 167 168/* Define to 1 if you have the <inttypes.h> header file. */ 169#define HAVE_INTTYPES_H 1 170 171/* Define to 1 if you have the `c' library (-lc). */ 172/* #undef HAVE_LIBC */ 173 174/* Define to 1 if you have the `c_r' library (-lc_r). */ 175/* #undef HAVE_LIBC_R */ 176 177/* Define to 1 if you have the `nsl' library (-lnsl). */ 178/* #undef HAVE_LIBNSL */ 179 180/* Define to 1 if you have the `pthread' library (-lpthread). */ 181/* #undef HAVE_LIBPTHREAD */ 182 183/* Define to 1 if you have the `scf' library (-lscf). */ 184/* #undef HAVE_LIBSCF */ 185 186/* Define to 1 if you have the `socket' library (-lsocket). */ 187/* #undef HAVE_LIBSOCKET */ 188 189/* Define to 1 if you have the `thr' library (-lthr). */ 190/* #undef HAVE_LIBTHR */ 191 192/* Define to 1 if you have the <linux/capability.h> header file. */ 193/* #undef HAVE_LINUX_CAPABILITY_H */ 194 195/* Define to 1 if you have the <memory.h> header file. */ 196#define HAVE_MEMORY_H 1 197 198/* Define to 1 if you have the <net/if6.h> header file. */ 199/* #undef HAVE_NET_IF6_H */ 200 201/* Define if libcrypto has RSA_generate_key */ 202#define HAVE_RSA_GENERATE_KEY 1 203 204/* Define to 1 if you have the <stdint.h> header file. */ 205#define HAVE_STDINT_H 1 206 207/* Define to 1 if you have the <stdlib.h> header file. */ 208#define HAVE_STDLIB_H 1 209 210/* Define to 1 if you have the <strings.h> header file. */ 211#define HAVE_STRINGS_H 1 212 213/* Define to 1 if you have the <string.h> header file. */ 214#define HAVE_STRING_H 1 215 216/* Define to 1 if you have the <sys/param.h> header file. */ 217#define HAVE_SYS_PARAM_H 1 218 219/* Define to 1 if you have the <sys/prctl.h> header file. */ 220/* #undef HAVE_SYS_PRCTL_H */ 221 222/* Define to 1 if you have the <sys/select.h> header file. */ 223#define HAVE_SYS_SELECT_H 1 224 225/* Define to 1 if you have the <sys/sockio.h> header file. */ 226#define HAVE_SYS_SOCKIO_H 1 227 228/* Define to 1 if you have the <sys/stat.h> header file. */ 229#define HAVE_SYS_STAT_H 1 230 231/* Define to 1 if you have the <sys/sysctl.h> header file. */ 232#define HAVE_SYS_SYSCTL_H 1 233 234/* Define to 1 if you have the <sys/time.h> header file. */ 235#define HAVE_SYS_TIME_H 1 236 237/* Define to 1 if you have the <sys/types.h> header file. */ 238#define HAVE_SYS_TYPES_H 1 239 240/* Define if running under Compaq TruCluster */ 241/* #undef HAVE_TRUCLUSTER */ 242 243/* Define to 1 if you have the <unistd.h> header file. */ 244#define HAVE_UNISTD_H 1 245 246/* Defined if extern char *optarg is not declared. */ 247/* #undef NEED_OPTARG */ 248 249/* Define to the address where bug reports for this package should be sent. */ 250#define PACKAGE_BUGREPORT "" 251 252/* Define to the full name of this package. */ 253#define PACKAGE_NAME "" 254 255/* Define to the full name and version of this package. */ 256#define PACKAGE_STRING "" 257 258/* Define to the one symbol short name of this package. */ 259#define PACKAGE_TARNAME "" 260 261/* Define to the version of this package. */ 262#define PACKAGE_VERSION "" 263 264/* Sets which flag to pass to open/fcntl to make non-blocking 265 (O_NDELAY/O_NONBLOCK). */ 266#define PORT_NONBLOCK O_NONBLOCK 267 268/* Define to 1 if you have the ANSI C header files. */ 269#define STDC_HEADERS 1 270 271/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 272#define TIME_WITH_SYS_TIME 1 273 274/* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make 275 non-blocking. */ 276/* #undef USE_FIONBIO_IOCTL */ 277 278/* Define to 1 if your processor stores words with the most significant byte 279 first (like Motorola and SPARC, unlike Intel and VAX). */ 280/* #undef WORDS_BIGENDIAN */ 281 282/* Define to empty if `const' does not conform to ANSI C. */ 283/* #undef const */ 284 285/* Define to `__inline__' or `__inline' if that's what the C compiler 286 calls it, or to nothing if 'inline' is not supported under any name. */ 287#ifndef __cplusplus 288/* #undef inline */ 289#endif 290 291/* Define to `unsigned' if <sys/types.h> does not define. */ 292/* #undef size_t */ 293 294/* Define to `int' if <sys/types.h> does not define. */ 295/* #undef ssize_t */ 296 297/* Define to `unsigned long' if <sys/types.h> does not define. */ 298/* #undef uintptr_t */ 299