1 /* config.h.in. Generated from configure.in by autoheader. */
3 * Copyright (C) 2004, 2005, 2007, 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
4 * Copyright (C) 1999-2003 Internet Software Consortium.
6 * Permission to use, copy, modify, and/or distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
10 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 * PERFORMANCE OF THIS SOFTWARE.
19 /* $Id: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp $ */
24 *** This file is not to be included by any public header files, because
25 *** it does not get installed.
28 /** define on DEC OSF to enable 4.4BSD style sa_len support */
31 /** define if your system needs pthread_init() before using pthreads */
32 #undef NEED_PTHREAD_INIT
34 /** define if your system has sigwait() */
37 /** define if sigwait() is the UnixWare flavor */
38 #undef HAVE_UNIXWARE_SIGWAIT
40 /** define on Solaris to get sigwait() to work using pthreads semantics */
41 #undef _POSIX_PTHREAD_SEMANTICS
43 /** define if LinuxThreads is in use */
44 #undef HAVE_LINUXTHREADS
46 /** define if sysconf() is available */
49 /** define if sysctlbyname() is available */
50 #undef HAVE_SYSCTLBYNAME
52 /** define if catgets() is available */
55 /** define if getifaddrs() exists */
56 #undef HAVE_GETIFADDRS
58 /** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
59 #undef HAVE_IFLIST_SYSCTL
61 /** define if tzset() is available */
64 /** define if struct addrinfo exists */
67 /** define if getaddrinfo() exists */
68 #undef HAVE_GETADDRINFO
70 /** define if gai_strerror() exists */
71 #undef HAVE_GAISTRERROR
73 /** define if arc4random() exists */
74 #undef HAVE_ARC4RANDOM
77 * define if pthread_setconcurrency() should be called to tell the
78 * OS how many threads we might want to run.
80 #undef CALL_PTHREAD_SETCONCURRENCY
82 /** define if IPv6 is not disabled */
85 /** define if flockfile() is available */
88 /** define if getc_unlocked() is available */
89 #undef HAVE_GETCUNLOCKED
91 /** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
95 extern __inline int __sputaux(int _c, struct __sFILE *_p);
98 /** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
100 #ifdef SHUTUP_SIGWAIT
101 int sigwait(const unsigned int *set, int *sig);
104 /** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
105 #undef SHUTUP_STDARG_CAST
106 #if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
107 #include <stdarg.h> /** Grr. Must be included *every time*. */
109 * The silly continuation line is to keep configure from
110 * commenting out the #undef.
115 #define va_start(ap, last) \
117 union { const void *konst; long *var; } _u; \
118 _u.konst = &(last); \
119 ap = (va_list)(_u.var + __va_words(__typeof(last))); \
121 #endif /** SHUTUP_STDARG_CAST && __GNUC__ */
123 /** define if the system has a random number generating device */
124 #undef PATH_RANDOMDEV
126 /** define if pthread_attr_getstacksize() is available */
127 #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
129 /** define if pthread_attr_setstacksize() is available */
130 #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
132 /** define if you have strerror in the C library. */
135 /** Define if you are running under Compaq TruCluster. */
136 #undef HAVE_TRUCLUSTER
138 /* Define if OpenSSL includes DSA support */
139 #undef HAVE_OPENSSL_DSA
141 /* Define if OpenSSL includes ECDSA support */
142 #undef HAVE_OPENSSL_ECDSA
144 /* Define to the length type used by the socket API (socklen_t, size_t, int). */
145 #undef ISC_SOCKADDR_LEN_T
147 /* Define if threads need PTHREAD_SCOPE_SYSTEM */
148 #undef NEED_PTHREAD_SCOPE_SYSTEM
150 /* Define if building universal (internal helper macro) */
151 #undef AC_APPLE_UNIVERSAL_BUILD
153 /* Define to enable the "filter-aaaa-on-v4" option. */
154 #undef ALLOW_FILTER_AAAA_ON_V4
156 /* define if ATF unit tests are to be built. */
159 /* Define if recvmsg() does not meet all of the BSD socket API specifications.
161 #undef BROKEN_RECVMSG
163 /* Define if you cannot bind() before connect() for TCP sockets. */
164 #undef BROKEN_TCP_BIND_BEFORE_CONNECT
166 /* Define to enable "rrset-order fixed" syntax. */
167 #undef DNS_RDATASET_FIXED
169 /* Define to enable rpz-nsdname rules. */
170 #undef ENABLE_RPZ_NSDNAME
172 /* Define to enable rpz-nsip rules. */
173 #undef ENABLE_RPZ_NSIP
175 /* Solaris hack to get select_large_fdset. */
178 /* Define to nothing if C supports flexible array members, and to 1 if it does
179 not. That way, with a declaration like `struct s { int n; double
180 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
181 compilers. When computing the size of such an object, don't use 'sizeof
182 (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
183 instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
184 MSVC and with C++ compilers. */
185 #undef FLEXIBLE_ARRAY_MEMBER
187 /* Define to 1 if you have the `chroot' function. */
190 /* Define to 1 if you have the <devpoll.h> header file. */
191 #undef HAVE_DEVPOLL_H
193 /* Define to 1 if you have the `dlclose' function. */
196 /* Define to 1 if you have the <dlfcn.h> header file. */
199 /* Define to 1 if you have the `dlopen' function. */
202 /* Define to 1 if you have the `dlsym' function. */
205 /* Define to 1 if you have the `EVP_sha256' function. */
206 #undef HAVE_EVP_SHA256
208 /* Define to 1 if you have the `EVP_sha384' function. */
209 #undef HAVE_EVP_SHA384
211 /* Define to 1 if you have the `EVP_sha512' function. */
212 #undef HAVE_EVP_SHA512
214 /* Define to 1 if you have the <fcntl.h> header file. */
217 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
218 #undef HAVE_GSSAPI_GSSAPI_H
220 /* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
221 #undef HAVE_GSSAPI_GSSAPI_KRB5_H
223 /* Define to 1 if you have the <gssapi.h> header file. */
226 /* Define to 1 if you have the <gssapi_krb5.h> header file. */
227 #undef HAVE_GSSAPI_KRB5_H
229 /* Define to 1 if you have the <inttypes.h> header file. */
230 #undef HAVE_INTTYPES_H
232 /* Define to 1 if you have the <kerberosv5/krb5.h> header file. */
233 #undef HAVE_KERBEROSV5_KRB5_H
235 /* Define to 1 if you have the <krb5.h> header file. */
238 /* Define to 1 if you have the <krb5/krb5.h> header file. */
239 #undef HAVE_KRB5_KRB5_H
241 /* Define to 1 if you have the `c' library (-lc). */
244 /* Define to 1 if you have the `cap' library (-lcap). */
247 /* if system have backtrace function */
248 #undef HAVE_LIBCTRACE
250 /* Define to 1 if you have the `c_r' library (-lc_r). */
253 /* Define to 1 if you have the `nsl' library (-lnsl). */
256 /* Define to 1 if you have the `pthread' library (-lpthread). */
257 #undef HAVE_LIBPTHREAD
259 /* Define to 1 if you have the `scf' library (-lscf). */
262 /* Define to 1 if you have the `socket' library (-lsocket). */
263 #undef HAVE_LIBSOCKET
265 /* Define to 1 if you have the `thr' library (-lthr). */
268 /* Define if libxml2 was found */
271 /* Define to 1 if you have the <linux/capability.h> header file. */
272 #undef HAVE_LINUX_CAPABILITY_H
274 /* Define to 1 if you have the <locale.h> header file. */
277 /* Define to 1 if you have the <memory.h> header file. */
280 /* Define to 1 if you have the `nanosleep' function. */
281 #undef HAVE_NANOSLEEP
283 /* Define to 1 if you have the <net/if6.h> header file. */
284 #undef HAVE_NET_IF6_H
286 /* Define if your OpenSSL version supports GOST. */
287 #undef HAVE_OPENSSL_GOST
289 /* Define to 1 if you have the `setegid' function. */
292 /* Define to 1 if you have the `seteuid' function. */
295 /* Define to 1 if you have the `setlocale' function. */
296 #undef HAVE_SETLOCALE
298 /* Define to 1 if you have the `setresgid' function. */
299 #undef HAVE_SETRESGID
301 /* Define to 1 if you have the `setresuid' function. */
302 #undef HAVE_SETRESUID
304 /* Define to 1 if you have the <stdint.h> header file. */
307 /* Define to 1 if you have the <stdlib.h> header file. */
310 /* Define to 1 if you have the <strings.h> header file. */
311 #undef HAVE_STRINGS_H
313 /* Define to 1 if you have the <string.h> header file. */
316 /* Define to 1 if you have the <sys/capability.h> header file. */
317 #undef HAVE_SYS_CAPABILITY_H
319 /* Define to 1 if you have the <sys/devpoll.h> header file. */
320 #undef HAVE_SYS_DEVPOLL_H
322 /* Define to 1 if you have the <sys/dyntune.h> header file. */
323 #undef HAVE_SYS_DYNTUNE_H
325 /* Define to 1 if you have the <sys/param.h> header file. */
326 #undef HAVE_SYS_PARAM_H
328 /* Define to 1 if you have the <sys/prctl.h> header file. */
329 #undef HAVE_SYS_PRCTL_H
331 /* Define to 1 if you have the <sys/select.h> header file. */
332 #undef HAVE_SYS_SELECT_H
334 /* Define to 1 if you have the <sys/sockio.h> header file. */
335 #undef HAVE_SYS_SOCKIO_H
337 /* Define to 1 if you have the <sys/stat.h> header file. */
338 #undef HAVE_SYS_STAT_H
340 /* Define to 1 if you have the <sys/sysctl.h> header file. */
341 #undef HAVE_SYS_SYSCTL_H
343 /* Define to 1 if you have the <sys/time.h> header file. */
344 #undef HAVE_SYS_TIME_H
346 /* Define to 1 if you have the <sys/types.h> header file. */
347 #undef HAVE_SYS_TYPES_H
349 /* Define to 1 if you have the <sys/un.h> header file. */
352 /* Define if running under Compaq TruCluster */
353 #undef HAVE_TRUCLUSTER
355 /* Define to 1 if you have the <unistd.h> header file. */
358 /* return type of gai_strerror */
359 #undef IRS_GAISTRERROR_RETURN_T
361 /* Define to the buffer length type used by getnameinfo(3). */
362 #undef IRS_GETNAMEINFO_BUFLEN_T
364 /* Define to the flags type used by getnameinfo(3). */
365 #undef IRS_GETNAMEINFO_FLAGS_T
367 /* Define to allow building of objects for dlopen(). */
368 #undef ISC_DLZ_DLOPEN
370 /* Defined if extern char *optarg is not declared. */
373 /* Define if connect does not honour the permission on the UNIX domain socket.
375 #undef NEED_SECURE_DIRECTORY
377 /* Define to the address where bug reports for this package should be sent. */
378 #undef PACKAGE_BUGREPORT
380 /* Define to the full name of this package. */
383 /* Define to the full name and version of this package. */
384 #undef PACKAGE_STRING
386 /* Define to the one symbol short name of this package. */
387 #undef PACKAGE_TARNAME
389 /* Define to the home page for this package. */
392 /* Define to the version of this package. */
393 #undef PACKAGE_VERSION
395 /* Sets which flag to pass to open/fcntl to make non-blocking
396 (O_NDELAY/O_NONBLOCK). */
399 /* The size of `void *', as computed by sizeof. */
402 /* Define to 1 if you have the ANSI C header files. */
405 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
406 #undef TIME_WITH_SYS_TIME
408 /* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
410 #undef USE_FIONBIO_IOCTL
412 /* define if idnkit support is to be included. */
415 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
416 significant byte first (like Motorola and SPARC, unlike Intel). */
417 #if defined AC_APPLE_UNIVERSAL_BUILD
418 # if defined __BIG_ENDIAN__
419 # define WORDS_BIGENDIAN 1
422 # ifndef WORDS_BIGENDIAN
423 # undef WORDS_BIGENDIAN
427 /* Define to empty if `const' does not conform to ANSI C. */
430 /* Define to empty if your compiler does not support "static inline". */
433 /* Define to `unsigned int' if <sys/types.h> does not define. */
436 /* Define to `int' if <sys/types.h> does not define. */
439 /* Define to `unsigned long' if <sys/types.h> does not define. */
442 /* Define to empty if the keyword `volatile' does not work. Warning: valid
443 code using `volatile' can become incorrect without. Disable with care. */