1/* $FreeBSD: head/lib/bind/config.h 170224 2007-06-02 23:24:14Z dougb $ */ |
2 3/* config.h. Generated by configure. */ 4/* config.h.in. Generated from configure.in by autoheader. */ 5/* |
6 * Copyright (C) 2004, 2005 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.44.18.5 2005/04/29 00:15:20 marka Exp $ */ |
23 |
24/*! \file */ 25 |
26/*** 27 *** This file is not to be included by any public header files, because 28 *** it does not get installed. 29 ***/ 30 |
31/** define to `int' if <sys/types.h> doesn't define. */ |
32/* #undef ssize_t */ 33 |
34/** define on DEC OSF to enable 4.4BSD style sa_len support */ |
35/* #undef _SOCKADDR_LEN */ 36 |
37/** define if your system needs pthread_init() before using pthreads */ |
38/* #undef NEED_PTHREAD_INIT */ 39 |
40/** define if your system has sigwait() */ 41#define HAVE_SIGWAIT 1 |
42 |
43/** define if sigwait() is the UnixWare flavor */ |
44/* #undef HAVE_UNIXWARE_SIGWAIT */ 45 |
46/** define on Solaris to get sigwait() to work using pthreads semantics */ |
47/* #undef _POSIX_PTHREAD_SEMANTICS */ 48 |
49/** define if LinuxThreads is in use */ |
50/* #undef HAVE_LINUXTHREADS */ 51 |
52/** define if sysconf() is available */ 53#define HAVE_SYSCONF 1 |
54 |
55/** define if sysctlbyname() is available */ |
56#define HAVE_SYSCTLBYNAME 1 57 |
58/** define if catgets() is available */ |
59#define HAVE_CATGETS 1 60 |
61/** define if getifaddrs() exists */ |
62#define HAVE_GETIFADDRS 1 63 |
64/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */ |
65#define HAVE_IFLIST_SYSCTL 1 66 |
67/** define if chroot() is available */ |
68#define HAVE_CHROOT 1 69 |
70/** define if tzset() is available */ |
71#define HAVE_TZSET 1 72 |
73/** define if struct addrinfo exists */ |
74#define HAVE_ADDRINFO 1 75 |
76/** define if getaddrinfo() exists */ |
77#define HAVE_GETADDRINFO 1 78 |
79/** define if gai_strerror() exists */ |
80#define HAVE_GAISTRERROR 1 81 |
82/** define if arc4random() exists */ |
83#define HAVE_ARC4RANDOM 1 84 |
85/** 86 * define if pthread_setconcurrency() should be called to tell the |
87 * OS how many threads we might want to run. 88 */ 89/* #undef CALL_PTHREAD_SETCONCURRENCY */ 90 |
91/** define if IPv6 is not disabled */ |
92/* #undef WANT_IPV6 */ 93 |
94/** define if flockfile() is available */ |
95#define HAVE_FLOCKFILE 1 96 |
97/** define if getc_unlocked() is available */ |
98#define HAVE_GETCUNLOCKED 1 99 |
100/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */ |
101/* #undef SHUTUP_SPUTAUX */ 102#ifdef SHUTUP_SPUTAUX 103struct __sFILE; 104extern __inline int __sputaux(int _c, struct __sFILE *_p); 105#endif 106 |
107/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */ |
108/* #undef SHUTUP_SIGWAIT */ 109#ifdef SHUTUP_SIGWAIT 110int sigwait(const unsigned int *set, int *sig); 111#endif 112 |
113/** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */ |
114/* #undef SHUTUP_STDARG_CAST */ 115#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__) |
116#include <stdarg.h> /** Grr. Must be included *every time*. */ 117/** |
118 * The silly continuation line is to keep configure from 119 * commenting out the #undef. 120 */ |
121 |
122#undef \ 123 va_start 124#define va_start(ap, last) \ 125 do { \ 126 union { const void *konst; long *var; } _u; \ 127 _u.konst = &(last); \ 128 ap = (va_list)(_u.var + __va_words(__typeof(last))); \ 129 } while (0) |
130#endif /** SHUTUP_STDARG_CAST && __GNUC__ */ |
131 |
132/** define if the system has a random number generating device */ |
133#define PATH_RANDOMDEV "/dev/random" 134 |
135/** define if pthread_attr_getstacksize() is available */ 136#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1 |
137 |
138/** define if pthread_attr_setstacksize() is available */ 139#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 |
140 |
141/** define if you have strerror in the C library. */ |
142#define HAVE_STRERROR 1 143 |
144/** Define if you are running under Compaq TruCluster. */ |
145/* #undef HAVE_TRUCLUSTER */ 146 147/* Define if OpenSSL includes DSA support */ 148#define HAVE_OPENSSL_DSA 1 149 150/* Define to the length type used by the socket API (socklen_t, size_t, int). */ 151#define ISC_SOCKADDR_LEN_T socklen_t 152 153/* Define if threads need PTHREAD_SCOPE_SYSTEM */ 154/* #undef NEED_PTHREAD_SCOPE_SYSTEM */ 155 156/* Define if recvmsg() does not meet all of the BSD socket API specifications. 157 */ 158/* #undef BROKEN_RECVMSG */ 159 160/* Define if you cannot bind() before connect() for TCP sockets. */ 161/* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */ 162 |
163/* Define to 1 if you have the <fcntl.h> header file. */ 164#define HAVE_FCNTL_H 1 165 166/* Define to 1 if you have the <inttypes.h> header file. */ 167#define HAVE_INTTYPES_H 1 168 169/* Define to 1 if you have the `c' library (-lc). */ 170/* #undef HAVE_LIBC */ --- 14 unchanged lines hidden (view full) --- 185/* #undef HAVE_LIBSOCKET */ 186 187/* Define to 1 if you have the `thr' library (-lthr). */ 188/* #undef HAVE_LIBTHR */ 189 190/* Define to 1 if you have the <linux/capability.h> header file. */ 191/* #undef HAVE_LINUX_CAPABILITY_H */ 192 |
193/* Define to 1 if you have the <locale.h> header file. */ 194#define HAVE_LOCALE_H 1 195 |
196/* Define to 1 if you have the <memory.h> header file. */ 197#define HAVE_MEMORY_H 1 198 199/* Define to 1 if you have the <net/if6.h> header file. */ 200/* #undef HAVE_NET_IF6_H */ 201 |
202/* Define to 1 if you have the `setlocale' function. */ 203#define HAVE_SETLOCALE 1 |
204 205/* Define to 1 if you have the <stdint.h> header file. */ 206#define HAVE_STDINT_H 1 207 208/* Define to 1 if you have the <stdlib.h> header file. */ 209#define HAVE_STDLIB_H 1 210 211/* Define to 1 if you have the <strings.h> header file. */ --- 21 unchanged lines hidden (view full) --- 233#define HAVE_SYS_SYSCTL_H 1 234 235/* Define to 1 if you have the <sys/time.h> header file. */ 236#define HAVE_SYS_TIME_H 1 237 238/* Define to 1 if you have the <sys/types.h> header file. */ 239#define HAVE_SYS_TYPES_H 1 240 |
241/* Define to 1 if you have the <sys/un.h> header file. */ 242#define HAVE_SYS_UN_H 1 243 |
244/* Define if running under Compaq TruCluster */ 245/* #undef HAVE_TRUCLUSTER */ 246 247/* Define to 1 if you have the <unistd.h> header file. */ 248#define HAVE_UNISTD_H 1 249 250/* Defined if extern char *optarg is not declared. */ 251/* #undef NEED_OPTARG */ 252 |
253/* Define if connect does not honour the permission on the UNIX domain socket. 254 */ 255/* #undef NEED_SECURE_DIRECTORY */ 256 |
257/* Define to the address where bug reports for this package should be sent. */ 258#define PACKAGE_BUGREPORT "" 259 260/* Define to the full name of this package. */ 261#define PACKAGE_NAME "" 262 263/* Define to the full name and version of this package. */ 264#define PACKAGE_STRING "" --- 13 unchanged lines hidden (view full) --- 278 279/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 280#define TIME_WITH_SYS_TIME 1 281 282/* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make 283 non-blocking. */ 284/* #undef USE_FIONBIO_IOCTL */ 285 |
286/* define if idnkit support is to be included. */ 287/* #undef WITH_IDN */ 288 |
289/* Define to 1 if your processor stores words with the most significant byte 290 first (like Motorola and SPARC, unlike Intel and VAX). */ 291/* #undef WORDS_BIGENDIAN */ 292 293/* Define to empty if `const' does not conform to ANSI C. */ 294/* #undef const */ 295 296/* Define to `__inline__' or `__inline' if that's what the C compiler --- 13 unchanged lines hidden --- |