config.h revision 143737
1/* $FreeBSD: head/lib/bind/config.h 143737 2005-03-17 08:39:12Z 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#define HAVE_SIGWAIT 1 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#define HAVE_SYSCONF 1 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#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1 133 134/* define if pthread_attr_setstacksize() is available */ 135#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 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 to 1 if you have the <fcntl.h> header file. */ 153#define HAVE_FCNTL_H 1 154 155/* Define to 1 if you have the <inttypes.h> header file. */ 156#define HAVE_INTTYPES_H 1 157 158/* Define to 1 if you have the `c' library (-lc). */ 159/* #undef HAVE_LIBC */ 160 161/* Define to 1 if you have the `c_r' library (-lc_r). */ 162/* #undef HAVE_LIBC_R */ 163 164/* Define to 1 if you have the `nsl' library (-lnsl). */ 165/* #undef HAVE_LIBNSL */ 166 167/* Define to 1 if you have the `pthread' library (-lpthread). */ 168#define HAVE_LIBPTHREAD 1 169 170/* Define to 1 if you have the `scf' library (-lscf). */ 171/* #undef HAVE_LIBSCF */ 172 173/* Define to 1 if you have the `socket' library (-lsocket). */ 174/* #undef HAVE_LIBSOCKET */ 175 176/* Define to 1 if you have the <linux/capability.h> header file. */ 177/* #undef HAVE_LINUX_CAPABILITY_H */ 178 179/* Define to 1 if you have the <memory.h> header file. */ 180#define HAVE_MEMORY_H 1 181 182/* Define to 1 if you have the <net/if6.h> header file. */ 183/* #undef HAVE_NET_IF6_H */ 184 185/* Define to 1 if you have the <stdint.h> header file. */ 186#define HAVE_STDINT_H 1 187 188/* Define to 1 if you have the <stdlib.h> header file. */ 189#define HAVE_STDLIB_H 1 190 191/* Define to 1 if you have the <strings.h> header file. */ 192#define HAVE_STRINGS_H 1 193 194/* Define to 1 if you have the <string.h> header file. */ 195#define HAVE_STRING_H 1 196 197/* Define to 1 if you have the <sys/param.h> header file. */ 198#define HAVE_SYS_PARAM_H 1 199 200/* Define to 1 if you have the <sys/prctl.h> header file. */ 201/* #undef HAVE_SYS_PRCTL_H */ 202 203/* Define to 1 if you have the <sys/select.h> header file. */ 204#define HAVE_SYS_SELECT_H 1 205 206/* Define to 1 if you have the <sys/sockio.h> header file. */ 207#define HAVE_SYS_SOCKIO_H 1 208 209/* Define to 1 if you have the <sys/stat.h> header file. */ 210#define HAVE_SYS_STAT_H 1 211 212/* Define to 1 if you have the <sys/sysctl.h> header file. */ 213#define HAVE_SYS_SYSCTL_H 1 214 215/* Define to 1 if you have the <sys/time.h> header file. */ 216#define HAVE_SYS_TIME_H 1 217 218/* Define to 1 if you have the <sys/types.h> header file. */ 219#define HAVE_SYS_TYPES_H 1 220 221/* Define if running under Compaq TruCluster */ 222/* #undef HAVE_TRUCLUSTER */ 223 224/* Define to 1 if you have the <unistd.h> header file. */ 225#define HAVE_UNISTD_H 1 226 227/* Define to the address where bug reports for this package should be sent. */ 228#define PACKAGE_BUGREPORT "" 229 230/* Define to the full name of this package. */ 231#define PACKAGE_NAME "" 232 233/* Define to the full name and version of this package. */ 234#define PACKAGE_STRING "" 235 236/* Define to the one symbol short name of this package. */ 237#define PACKAGE_TARNAME "" 238 239/* Define to the version of this package. */ 240#define PACKAGE_VERSION "" 241 242/* Define to 1 if you have the ANSI C header files. */ 243#define STDC_HEADERS 1 244 245/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 246#define TIME_WITH_SYS_TIME 1 247 248/* Define to 1 if your processor stores words with the most significant byte 249 first (like Motorola and SPARC, unlike Intel and VAX). */ 250/* #undef WORDS_BIGENDIAN */ 251 252/* Define to empty if `const' does not conform to ANSI C. */ 253/* #undef const */ 254 255/* Define as `__inline' if that's what the C compiler calls it, or to nothing 256 if it is not supported. */ 257/* #undef inline */ 258 259/* Define to `unsigned' if <sys/types.h> does not define. */ 260/* #undef size_t */ 261 262/* Define to `int' if <sys/types.h> does not define. */ 263/* #undef ssize_t */ 264