3 /* config.h. Generated from config.h.in by configure. */
4 /* config.h.in. Generated from configure.in by autoheader. */
6 * Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
7 * Copyright (C) 1999-2003 Internet Software Consortium.
9 * Permission to use, copy, modify, and/or 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.
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.
22 /* $Id: acconfig.h,v 1.51.334.2 2009/02/16 23:47:15 tbox Exp $ */
27 *** This file is not to be included by any public header files, because
28 *** it does not get installed.
31 /** define on DEC OSF to enable 4.4BSD style sa_len support */
32 /* #undef _SOCKADDR_LEN */
34 /** define if your system needs pthread_init() before using pthreads */
35 /* #undef NEED_PTHREAD_INIT */
37 /** define if your system has sigwait() */
38 #define HAVE_SIGWAIT 1
40 /** define if sigwait() is the UnixWare flavor */
41 /* #undef HAVE_UNIXWARE_SIGWAIT */
43 /** define on Solaris to get sigwait() to work using pthreads semantics */
44 /* #undef _POSIX_PTHREAD_SEMANTICS */
46 /** define if LinuxThreads is in use */
47 /* #undef HAVE_LINUXTHREADS */
49 /** define if sysconf() is available */
50 #define HAVE_SYSCONF 1
52 /** define if sysctlbyname() is available */
53 #define HAVE_SYSCTLBYNAME 1
55 /** define if catgets() is available */
56 #define HAVE_CATGETS 1
58 /** define if getifaddrs() exists */
59 #define HAVE_GETIFADDRS 1
61 /** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
62 #define HAVE_IFLIST_SYSCTL 1
64 /** define if tzset() is available */
67 /** define if struct addrinfo exists */
68 #define HAVE_ADDRINFO 1
70 /** define if getaddrinfo() exists */
71 #define HAVE_GETADDRINFO 1
73 /** define if gai_strerror() exists */
74 #define HAVE_GAISTRERROR 1
76 /** define if arc4random() exists */
77 #define HAVE_ARC4RANDOM 1
80 * define if pthread_setconcurrency() should be called to tell the
81 * OS how many threads we might want to run.
83 /* #undef CALL_PTHREAD_SETCONCURRENCY */
85 /** define if IPv6 is not disabled */
86 /* #undef WANT_IPV6 */
88 /** define if flockfile() is available */
89 #define HAVE_FLOCKFILE 1
91 /** define if getc_unlocked() is available */
92 #define HAVE_GETCUNLOCKED 1
94 /** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
95 /* #undef SHUTUP_SPUTAUX */
98 extern __inline int __sputaux(int _c, struct __sFILE *_p);
101 /** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
102 /* #undef SHUTUP_SIGWAIT */
103 #ifdef SHUTUP_SIGWAIT
104 int sigwait(const unsigned int *set, int *sig);
107 /** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
108 /* #undef SHUTUP_STDARG_CAST */
109 #if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
110 #include <stdarg.h> /** Grr. Must be included *every time*. */
112 * The silly continuation line is to keep configure from
113 * commenting out the #undef.
118 #define va_start(ap, last) \
120 union { const void *konst; long *var; } _u; \
121 _u.konst = &(last); \
122 ap = (va_list)(_u.var + __va_words(__typeof(last))); \
124 #endif /** SHUTUP_STDARG_CAST && __GNUC__ */
126 /** define if the system has a random number generating device */
127 #define PATH_RANDOMDEV "/dev/random"
129 /** define if pthread_attr_getstacksize() is available */
130 #define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
132 /** define if pthread_attr_setstacksize() is available */
133 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
135 /** define if you have strerror in the C library. */
136 #define HAVE_STRERROR 1
138 /** Define if you are running under Compaq TruCluster. */
139 /* #undef HAVE_TRUCLUSTER */
141 /* Define if OpenSSL includes DSA support */
142 #define HAVE_OPENSSL_DSA 1
144 /* Define to the length type used by the socket API (socklen_t, size_t, int). */
145 #define ISC_SOCKADDR_LEN_T socklen_t
147 /* Define if threads need PTHREAD_SCOPE_SYSTEM */
148 /* #undef NEED_PTHREAD_SCOPE_SYSTEM */
150 /* Define if recvmsg() does not meet all of the BSD socket API specifications.
152 /* #undef BROKEN_RECVMSG */
154 /* Define if you cannot bind() before connect() for TCP sockets. */
155 /* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */
157 /* Define to enable "rrset-order fixed" syntax. */
158 /* #undef DNS_RDATASET_FIXED */
160 /* Solaris hack to get select_large_fdset. */
161 /* #undef FD_SETSIZE */
163 /* Define to 1 if you have the `chroot' function. */
164 #define HAVE_CHROOT 1
166 /* Define to 1 if you have the <dlfcn.h> header file. */
167 #define HAVE_DLFCN_H 1
169 /* Define to 1 if you have the `EVP_sha256' function. */
170 #define HAVE_EVP_SHA256 1
172 /* Define to 1 if you have the `EVP_sha512' function. */
173 #define HAVE_EVP_SHA512 1
175 /* Define to 1 if you have the <fcntl.h> header file. */
176 #define HAVE_FCNTL_H 1
178 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
179 /* #undef HAVE_GSSAPI_GSSAPI_H */
181 /* Define to 1 if you have the <gssapi.h> header file. */
182 /* #undef HAVE_GSSAPI_H */
184 /* Define to 1 if you have the <inttypes.h> header file. */
185 #define HAVE_INTTYPES_H 1
187 /* Define to 1 if you have the `c' library (-lc). */
188 /* #undef HAVE_LIBC */
190 /* Define to 1 if you have the `cap' library (-lcap). */
191 /* #undef HAVE_LIBCAP */
193 /* Define to 1 if you have the `c_r' library (-lc_r). */
194 /* #undef HAVE_LIBC_R */
196 /* Define to 1 if you have the `nsl' library (-lnsl). */
197 /* #undef HAVE_LIBNSL */
199 /* Define to 1 if you have the `pthread' library (-lpthread). */
200 /* #undef HAVE_LIBPTHREAD */
202 /* Define to 1 if you have the `scf' library (-lscf). */
203 /* #undef HAVE_LIBSCF */
205 /* Define to 1 if you have the `socket' library (-lsocket). */
206 /* #undef HAVE_LIBSOCKET */
208 /* Define to 1 if you have the `thr' library (-lthr). */
209 /* #undef HAVE_LIBTHR */
211 /* Define if libxml2 was found */
212 /* #undef HAVE_LIBXML2 */
214 /* Define to 1 if you have the <linux/capability.h> header file. */
215 /* #undef HAVE_LINUX_CAPABILITY_H */
217 /* Define to 1 if you have the <locale.h> header file. */
218 #define HAVE_LOCALE_H 1
220 /* Define to 1 if you have the <memory.h> header file. */
221 #define HAVE_MEMORY_H 1
223 /* Define to 1 if you have the `nanosleep' function. */
224 #define HAVE_NANOSLEEP 1
226 /* Define to 1 if you have the <net/if6.h> header file. */
227 /* #undef HAVE_NET_IF6_H */
229 /* Define to 1 if you have the `setlocale' function. */
230 #define HAVE_SETLOCALE 1
232 /* Define to 1 if you have the <stdint.h> header file. */
233 #define HAVE_STDINT_H 1
235 /* Define to 1 if you have the <stdlib.h> header file. */
236 #define HAVE_STDLIB_H 1
238 /* Define to 1 if you have the <strings.h> header file. */
239 #define HAVE_STRINGS_H 1
241 /* Define to 1 if you have the <string.h> header file. */
242 #define HAVE_STRING_H 1
244 /* Define to 1 if you have the <sys/capability.h> header file. */
245 /* #undef HAVE_SYS_CAPABILITY_H */
247 /* Define to 1 if you have the <sys/devpoll.h> header file. */
248 /* #undef HAVE_SYS_DEVPOLL_H */
250 /* Define to 1 if you have the <sys/dyntune.h> header file. */
251 /* #undef HAVE_SYS_DYNTUNE_H */
253 /* Define to 1 if you have the <sys/param.h> header file. */
254 #define HAVE_SYS_PARAM_H 1
256 /* Define to 1 if you have the <sys/prctl.h> header file. */
257 /* #undef HAVE_SYS_PRCTL_H */
259 /* Define to 1 if you have the <sys/select.h> header file. */
260 #define HAVE_SYS_SELECT_H 1
262 /* Define to 1 if you have the <sys/sockio.h> header file. */
263 #define HAVE_SYS_SOCKIO_H 1
265 /* Define to 1 if you have the <sys/stat.h> header file. */
266 #define HAVE_SYS_STAT_H 1
268 /* Define to 1 if you have the <sys/sysctl.h> header file. */
269 #define HAVE_SYS_SYSCTL_H 1
271 /* Define to 1 if you have the <sys/time.h> header file. */
272 #define HAVE_SYS_TIME_H 1
274 /* Define to 1 if you have the <sys/types.h> header file. */
275 #define HAVE_SYS_TYPES_H 1
277 /* Define to 1 if you have the <sys/un.h> header file. */
278 #define HAVE_SYS_UN_H 1
280 /* Define if running under Compaq TruCluster */
281 /* #undef HAVE_TRUCLUSTER */
283 /* Define to 1 if you have the <unistd.h> header file. */
284 #define HAVE_UNISTD_H 1
286 /* Define to the sub-directory in which libtool stores uninstalled libraries.
288 #define LT_OBJDIR ".libs/"
290 /* Defined if extern char *optarg is not declared. */
291 /* #undef NEED_OPTARG */
293 /* Define if connect does not honour the permission on the UNIX domain socket.
295 /* #undef NEED_SECURE_DIRECTORY */
297 /* Define to the address where bug reports for this package should be sent. */
298 #define PACKAGE_BUGREPORT ""
300 /* Define to the full name of this package. */
301 #define PACKAGE_NAME ""
303 /* Define to the full name and version of this package. */
304 #define PACKAGE_STRING ""
306 /* Define to the one symbol short name of this package. */
307 #define PACKAGE_TARNAME ""
309 /* Define to the version of this package. */
310 #define PACKAGE_VERSION ""
312 /* Sets which flag to pass to open/fcntl to make non-blocking
313 (O_NDELAY/O_NONBLOCK). */
314 #define PORT_NONBLOCK O_NONBLOCK
316 /* Define to 1 if you have the ANSI C header files. */
317 #define STDC_HEADERS 1
319 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
320 #define TIME_WITH_SYS_TIME 1
322 /* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
324 /* #undef USE_FIONBIO_IOCTL */
326 /* define if idnkit support is to be included. */
327 /* #undef WITH_IDN */
329 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
330 significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
331 #if defined __BIG_ENDIAN__
332 # define WORDS_BIGENDIAN 1
333 #elif ! defined __LITTLE_ENDIAN__
334 /* # undef WORDS_BIGENDIAN */
337 /* Define to empty if `const' does not conform to ANSI C. */
340 /* Define to `__inline__' or `__inline' if that's what the C compiler
341 calls it, or to nothing if 'inline' is not supported under any name. */
346 /* Define to `unsigned int' if <sys/types.h> does not define. */
349 /* Define to `int' if <sys/types.h> does not define. */
352 /* Define to `unsigned long' if <sys/types.h> does not define. */
353 /* #undef uintptr_t */
355 /* Define to empty if the keyword `volatile' does not work. Warning: valid
356 code using `volatile' can become incorrect without. Disable with care. */
357 /* #undef volatile */