1 /* config.h. Generated from config.h.in by configure. */
2 /* config.h.in. Generated from configure.in by autoheader. */
4 * Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
5 * Copyright (C) 1999-2003 Internet Software Consortium.
7 * Permission to use, copy, modify, and/or distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
11 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 * PERFORMANCE OF THIS SOFTWARE.
20 /* Id: config.h.in,v 1.122 2009/10/27 22:26:05 marka Exp */
25 *** This file is not to be included by any public header files, because
26 *** it does not get installed.
29 /** define on DEC OSF to enable 4.4BSD style sa_len support */
30 /* #undef _SOCKADDR_LEN */
32 /** define if your system needs pthread_init() before using pthreads */
33 /* #undef NEED_PTHREAD_INIT */
36 * Apparently, the combination of "no threads" but HAVE_SIGWAIT
37 * has not been well tested. Applications end up killing themselves
38 * instead of exiting gracefully.
40 #ifdef ISC_PLATFORM_USETHREADS
41 /** define if your system has sigwait() */
42 #define HAVE_SIGWAIT 1
43 #endif /* ISC_PLATFORM_USETHREADS */
45 /** define if sigwait() is the UnixWare flavor */
46 /* #undef HAVE_UNIXWARE_SIGWAIT */
48 /** define on Solaris to get sigwait() to work using pthreads semantics */
49 /* #undef _POSIX_PTHREAD_SEMANTICS */
51 /** define if LinuxThreads is in use */
52 /* #undef HAVE_LINUXTHREADS */
54 /** define if sysconf() is available */
55 #define HAVE_SYSCONF 1
57 /** define if sysctlbyname() is available */
58 #define HAVE_SYSCTLBYNAME 1
60 /** define if catgets() is available */
61 #define HAVE_CATGETS 1
63 /** define if getifaddrs() exists */
64 #define HAVE_GETIFADDRS 1
66 /** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
67 #define HAVE_IFLIST_SYSCTL 1
69 /** define if tzset() is available */
72 /** define if struct addrinfo exists */
73 #define HAVE_ADDRINFO 1
75 /** define if getaddrinfo() exists */
76 #define HAVE_GETADDRINFO 1
78 /** define if gai_strerror() exists */
79 #define HAVE_GAISTRERROR 1
81 /** define if arc4random() exists */
82 #define HAVE_ARC4RANDOM 1
85 * define if pthread_setconcurrency() should be called to tell the
86 * OS how many threads we might want to run.
88 /* #undef CALL_PTHREAD_SETCONCURRENCY */
90 #if 0 /* We'll define this in each Makefile as necessary */
91 /** define if IPv6 is not disabled */
95 /** define if flockfile() is available */
96 #define HAVE_FLOCKFILE 1
98 /** define if getc_unlocked() is available */
99 #define HAVE_GETCUNLOCKED 1
101 /** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
102 /* #undef SHUTUP_SPUTAUX */
103 #ifdef SHUTUP_SPUTAUX
105 extern __inline
int __sputaux(int _c
, struct __sFILE
*_p
);
108 /** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
109 /* #undef SHUTUP_SIGWAIT */
110 #ifdef SHUTUP_SIGWAIT
111 int sigwait(const unsigned int *set
, int *sig
);
114 /** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
115 /* #undef SHUTUP_STDARG_CAST */
116 #if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
117 #include <stdarg.h> /** Grr. Must be included *every time*. */
119 * The silly continuation line is to keep configure from
120 * commenting out the #undef.
125 #define va_start(ap, last) \
127 union { const void *konst; long *var; } _u; \
128 _u.konst = &(last); \
129 ap = (va_list)(_u.var + __va_words(__typeof(last))); \
131 #endif /** SHUTUP_STDARG_CAST && __GNUC__ */
133 /** define if the system has a random number generating device */
134 #define PATH_RANDOMDEV "/dev/random"
136 /** define if pthread_attr_getstacksize() is available */
137 #define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
139 /** define if pthread_attr_setstacksize() is available */
140 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
142 /** define if you have strerror in the C library. */
143 #define HAVE_STRERROR 1
145 /** Define if you are running under Compaq TruCluster. */
146 /* #undef HAVE_TRUCLUSTER */
148 /* Define if OpenSSL includes DSA support */
149 #define HAVE_OPENSSL_DSA 1
151 /* Define to the length type used by the socket API (socklen_t, size_t, int). */
152 #define ISC_SOCKADDR_LEN_T socklen_t
154 /* Define if threads need PTHREAD_SCOPE_SYSTEM */
155 /* #undef NEED_PTHREAD_SCOPE_SYSTEM */
157 /* Define to enable the "filter-aaaa-on-v4" option. */
158 /* #undef ALLOW_FILTER_AAAA_ON_V4 */
160 /* Define if recvmsg() does not meet all of the BSD socket API specifications.
162 /* #undef BROKEN_RECVMSG */
164 /* Define if you cannot bind() before connect() for TCP sockets. */
165 /* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */
167 /* Define to enable "rrset-order fixed" syntax. */
168 #define DNS_RDATASET_FIXED 1
170 /* Solaris hack to get select_large_fdset. */
171 /* #undef FD_SETSIZE */
173 /* Define to 1 if you have the `chroot' function. */
174 #define HAVE_CHROOT 1
176 /* Define to 1 if you have the <dlfcn.h> header file. */
177 #define HAVE_DLFCN_H 1
179 /* Define to 1 if you have the `EVP_sha256' function. */
180 #define HAVE_EVP_SHA256 1
182 /* Define to 1 if you have the `EVP_sha512' function. */
183 #define HAVE_EVP_SHA512 1
185 /* Define to 1 if you have the <fcntl.h> header file. */
186 #define HAVE_FCNTL_H 1
188 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
189 #define HAVE_GSSAPI_GSSAPI_H 1
191 /* Define to 1 if you have the <gssapi.h> header file. */
192 #define HAVE_GSSAPI_H 1
194 /* Define to 1 if you have the <inttypes.h> header file. */
195 #define HAVE_INTTYPES_H 1
197 /* Define to 1 if you have the `c' library (-lc). */
198 /* #undef HAVE_LIBC */
200 /* Define to 1 if you have the `cap' library (-lcap). */
201 /* #undef HAVE_LIBCAP */
203 /* if system have backtrace function */
204 /* #undef HAVE_LIBCTRACE */
206 /* Define to 1 if you have the `c_r' library (-lc_r). */
207 /* #undef HAVE_LIBC_R */
209 /* Define to 1 if you have the `nsl' library (-lnsl). */
210 /* #undef HAVE_LIBNSL */
212 /* Define to 1 if you have the `pthread' library (-lpthread). */
213 /* #undef HAVE_LIBPTHREAD */
215 /* Define to 1 if you have the `scf' library (-lscf). */
216 /* #undef HAVE_LIBSCF */
218 /* Define to 1 if you have the `socket' library (-lsocket). */
219 /* #undef HAVE_LIBSOCKET */
221 /* Define to 1 if you have the `thr' library (-lthr). */
222 /* #undef HAVE_LIBTHR */
224 /* Define if libxml2 was found */
225 /* #undef HAVE_LIBXML2 */
227 /* Define to 1 if you have the <linux/capability.h> header file. */
228 /* #undef HAVE_LINUX_CAPABILITY_H */
230 /* Define to 1 if you have the <locale.h> header file. */
231 #define HAVE_LOCALE_H 1
233 /* Define to 1 if you have the <memory.h> header file. */
234 #define HAVE_MEMORY_H 1
236 /* Define to 1 if you have the `nanosleep' function. */
237 #define HAVE_NANOSLEEP 1
239 /* Define to 1 if you have the <net/if6.h> header file. */
240 /* #undef HAVE_NET_IF6_H */
242 /* Define to 1 if you have the <regex.h> header file. */
243 #define HAVE_REGEX_H 1
245 /* Define to 1 if you have the `setegid' function. */
246 #define HAVE_SETEGID 1
248 /* Define to 1 if you have the `seteuid' function. */
249 #define HAVE_SETEUID 1
251 /* Define to 1 if you have the `setlocale' function. */
252 #define HAVE_SETLOCALE 1
254 /* Define to 1 if you have the `setresgid' function. */
255 /* #undef HAVE_SETRESGID */
257 /* Define to 1 if you have the `setresuid' function. */
258 /* #undef HAVE_SETRESUID */
260 /* Define to 1 if you have the <stdint.h> header file. */
261 #define HAVE_STDINT_H 1
263 /* Define to 1 if you have the <stdlib.h> header file. */
264 #define HAVE_STDLIB_H 1
266 /* Define to 1 if you have the <strings.h> header file. */
267 #define HAVE_STRINGS_H 1
269 /* Define to 1 if you have the <string.h> header file. */
270 #define HAVE_STRING_H 1
272 /* Define to 1 if you have the <sys/capability.h> header file. */
273 /* #undef HAVE_SYS_CAPABILITY_H */
275 /* Define to 1 if you have the <sys/devpoll.h> header file. */
276 /* #undef HAVE_SYS_DEVPOLL_H */
278 /* Define to 1 if you have the <sys/dyntune.h> header file. */
279 /* #undef HAVE_SYS_DYNTUNE_H */
281 /* Define to 1 if you have the <sys/param.h> header file. */
282 #define HAVE_SYS_PARAM_H 1
284 /* Define to 1 if you have the <sys/prctl.h> header file. */
285 /* #undef HAVE_SYS_PRCTL_H */
287 /* Define to 1 if you have the <sys/select.h> header file. */
288 #define HAVE_SYS_SELECT_H 1
290 /* Define to 1 if you have the <sys/sockio.h> header file. */
291 #define HAVE_SYS_SOCKIO_H 1
293 /* Define to 1 if you have the <sys/stat.h> header file. */
294 #define HAVE_SYS_STAT_H 1
296 /* Define to 1 if you have the <sys/sysctl.h> header file. */
297 #define HAVE_SYS_SYSCTL_H 1
299 /* Define to 1 if you have the <sys/time.h> header file. */
300 #define HAVE_SYS_TIME_H 1
302 /* Define to 1 if you have the <sys/types.h> header file. */
303 #define HAVE_SYS_TYPES_H 1
305 /* Define to 1 if you have the <sys/un.h> header file. */
306 #define HAVE_SYS_UN_H 1
308 /* Define if running under Compaq TruCluster */
309 /* #undef HAVE_TRUCLUSTER */
311 /* Define to 1 if you have the <unistd.h> header file. */
312 #define HAVE_UNISTD_H 1
314 /* return type of gai_srerror */
315 #define IRS_GAISTRERROR_RETURN_T const char *
317 /* Define to the buffer length type used by getnameinfo(3). */
318 #define IRS_GETNAMEINFO_BUFLEN_T socklen_t
320 /* Define to the flags type used by getnameinfo(3). */
321 #define IRS_GETNAMEINFO_FLAGS_T int
323 /* Defined if extern char *optarg is not declared. */
324 /* #undef NEED_OPTARG */
326 /* Define if connect does not honour the permission on the UNIX domain socket.
328 /* #undef NEED_SECURE_DIRECTORY */
330 /* Define to the address where bug reports for this package should be sent. */
331 #define PACKAGE_BUGREPORT ""
333 /* Define to the full name of this package. */
334 #define PACKAGE_NAME ""
336 /* Define to the full name and version of this package. */
337 #define PACKAGE_STRING ""
339 /* Define to the one symbol short name of this package. */
340 #define PACKAGE_TARNAME ""
342 /* Define to the version of this package. */
343 #define PACKAGE_VERSION ""
345 /* Sets which flag to pass to open/fcntl to make non-blocking
346 (O_NDELAY/O_NONBLOCK). */
347 #define PORT_NONBLOCK O_NONBLOCK
349 /* Define to 1 if you have the ANSI C header files. */
350 #define STDC_HEADERS 1
352 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
353 #define TIME_WITH_SYS_TIME 1
355 /* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
357 /* #undef USE_FIONBIO_IOCTL */
359 /** define if the system have backtrace function. */
360 /* #undef HAVE_LIBCTRACE */
362 /* define if idnkit support is to be included. */
363 /* #undef WITH_IDN */
365 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
366 significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
367 #include <sys/endian.h>
368 #if _BYTE_ORDER == _BIG_ENDIAN
369 #define WORDS_BIGENDIAN
372 /* Define to empty if `const' does not conform to ANSI C. */
375 /* Define to `__inline__' or `__inline' if that's what the C compiler
376 calls it, or to nothing if 'inline' is not supported under any name. */
381 /* Define to `unsigned int' if <sys/types.h> does not define. */
384 /* Define to `int' if <sys/types.h> does not define. */
387 /* Define to `unsigned long' if <sys/types.h> does not define. */
388 /* #undef uintptr_t */
390 /* Define to empty if the keyword `volatile' does not work. Warning: valid
391 code using `volatile' can become incorrect without. Disable with care. */
392 /* #undef volatile */