]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - contrib/bind9/acconfig.h
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / contrib / bind9 / acconfig.h
1 /*
2  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
3  * Copyright (C) 1999-2003  Internet Software Consortium.
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15  * PERFORMANCE OF THIS SOFTWARE.
16  */
17
18 /* $Id: acconfig.h,v 1.44.18.5 2005/04/29 00:15:20 marka Exp $ */
19
20 /*! \file */
21
22 /***
23  *** This file is not to be included by any public header files, because
24  *** it does not get installed.
25  ***/
26 @TOP@
27
28 /** define to `int' if <sys/types.h> doesn't define.  */
29 #undef ssize_t
30
31 /** define on DEC OSF to enable 4.4BSD style sa_len support */
32 #undef _SOCKADDR_LEN
33
34 /** define if your system needs pthread_init() before using pthreads */
35 #undef NEED_PTHREAD_INIT
36
37 /** define if your system has sigwait() */
38 #undef HAVE_SIGWAIT
39
40 /** define if sigwait() is the UnixWare flavor */
41 #undef HAVE_UNIXWARE_SIGWAIT
42
43 /** define on Solaris to get sigwait() to work using pthreads semantics */
44 #undef _POSIX_PTHREAD_SEMANTICS
45
46 /** define if LinuxThreads is in use */
47 #undef HAVE_LINUXTHREADS
48
49 /** define if sysconf() is available */
50 #undef HAVE_SYSCONF
51
52 /** define if sysctlbyname() is available */
53 #undef HAVE_SYSCTLBYNAME
54
55 /** define if catgets() is available */
56 #undef HAVE_CATGETS
57
58 /** define if getifaddrs() exists */
59 #undef HAVE_GETIFADDRS
60
61 /** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
62 #undef HAVE_IFLIST_SYSCTL
63
64 /** define if chroot() is available */
65 #undef HAVE_CHROOT
66
67 /** define if tzset() is available */
68 #undef HAVE_TZSET
69
70 /** define if struct addrinfo exists */
71 #undef HAVE_ADDRINFO
72
73 /** define if getaddrinfo() exists */
74 #undef HAVE_GETADDRINFO
75
76 /** define if gai_strerror() exists */
77 #undef HAVE_GAISTRERROR
78
79 /** define if arc4random() exists */
80 #undef HAVE_ARC4RANDOM
81
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 #undef HAVE_FLOCKFILE
93
94 /** define if getc_unlocked() is available */
95 #undef HAVE_GETCUNLOCKED
96
97 /** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
98 #undef SHUTUP_SPUTAUX
99 #ifdef SHUTUP_SPUTAUX
100 struct __sFILE;
101 extern __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
107 int 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  
119 #undef \
120         va_start
121 #define va_start(ap, last) \
122         do { \
123                 union { const void *konst; long *var; } _u; \
124                 _u.konst = &(last); \
125                 ap = (va_list)(_u.var + __va_words(__typeof(last))); \
126         } while (0)
127 #endif /** SHUTUP_STDARG_CAST && __GNUC__ */
128
129 /** define if the system has a random number generating device */
130 #undef PATH_RANDOMDEV
131
132 /** define if pthread_attr_getstacksize() is available */
133 #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
134
135 /** define if pthread_attr_setstacksize() is available */
136 #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
137
138 /** define if you have strerror in the C library. */
139 #undef HAVE_STRERROR
140
141 /** Define if you are running under Compaq TruCluster. */
142 #undef HAVE_TRUCLUSTER
143
144 /* Define if OpenSSL includes DSA support */
145 #undef HAVE_OPENSSL_DSA
146
147 /* Define to the length type used by the socket API (socklen_t, size_t, int). */
148 #undef ISC_SOCKADDR_LEN_T
149
150 /* Define if threads need PTHREAD_SCOPE_SYSTEM */
151 #undef NEED_PTHREAD_SCOPE_SYSTEM