config.h revision 262706
1/* $FreeBSD: stable/9/lib/bind/config.h 262706 2014-03-03 09:18:19Z erwin $ */
2
3/* config.h.  Generated from config.h.in by configure.  */
4/* config.h.in.  Generated from configure.in by autoheader.  */
5/*
6 * Copyright (C) 2004, 2005, 2007, 2008, 2012  Internet Systems Consortium, Inc. ("ISC")
7 * Copyright (C) 1999-2003  Internet Software Consortium.
8 *
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.
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.53 2008/12/01 23:47:44 tbox 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 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#define HAVE_SIGWAIT 1
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#define HAVE_SYSCONF 1
51
52/** define if sysctlbyname() is available */
53#define HAVE_SYSCTLBYNAME 1
54
55/** define if catgets() is available */
56#define HAVE_CATGETS 1
57
58/** define if getifaddrs() exists */
59#define HAVE_GETIFADDRS 1
60
61/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
62#define HAVE_IFLIST_SYSCTL 1
63
64/** define if tzset() is available */
65#define HAVE_TZSET 1
66
67/** define if struct addrinfo exists */
68#define HAVE_ADDRINFO 1
69
70/** define if getaddrinfo() exists */
71#define HAVE_GETADDRINFO 1
72
73/** define if gai_strerror() exists */
74#define HAVE_GAISTRERROR 1
75
76/** define if arc4random() exists */
77#define HAVE_ARC4RANDOM 1
78
79/**
80 * define if pthread_setconcurrency() should be called to tell the
81 * OS how many threads we might want to run.
82 */
83/* #undef CALL_PTHREAD_SETCONCURRENCY */
84
85/** define if IPv6 is not disabled */
86/* #undef WANT_IPV6 */
87
88/** define if flockfile() is available */
89#define HAVE_FLOCKFILE 1
90
91/** define if getc_unlocked() is available */
92#define HAVE_GETCUNLOCKED 1
93
94/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
95/* #undef SHUTUP_SPUTAUX */
96#ifdef SHUTUP_SPUTAUX
97struct __sFILE;
98extern __inline int __sputaux(int _c, struct __sFILE *_p);
99#endif
100
101/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
102/* #undef SHUTUP_SIGWAIT */
103#ifdef SHUTUP_SIGWAIT
104int sigwait(const unsigned int *set, int *sig);
105#endif
106
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*. */
111/**
112 * The silly continuation line is to keep configure from
113 * commenting out the #undef.
114 */
115
116#undef \
117	va_start
118#define	va_start(ap, last) \
119	do { \
120		union { const void *konst; long *var; } _u; \
121		_u.konst = &(last); \
122		ap = (va_list)(_u.var + __va_words(__typeof(last))); \
123	} while (0)
124#endif /** SHUTUP_STDARG_CAST && __GNUC__ */
125
126/** define if the system has a random number generating device */
127#define PATH_RANDOMDEV "/dev/random"
128
129/** define if pthread_attr_getstacksize() is available */
130#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
131
132/** define if pthread_attr_setstacksize() is available */
133#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
134
135/** define if you have strerror in the C library. */
136#define HAVE_STRERROR 1
137
138/** Define if you are running under Compaq TruCluster. */
139/* #undef HAVE_TRUCLUSTER */
140
141/* Define if OpenSSL includes DSA support */
142#define HAVE_OPENSSL_DSA 1
143
144/* Define if OpenSSL includes ECDSA support */
145#define HAVE_OPENSSL_ECDSA 1
146
147/* Define to the length type used by the socket API (socklen_t, size_t, int). */
148#define ISC_SOCKADDR_LEN_T socklen_t
149
150/* Define if threads need PTHREAD_SCOPE_SYSTEM */
151/* #undef NEED_PTHREAD_SCOPE_SYSTEM */
152
153/* Define if building universal (internal helper macro) */
154/* #undef AC_APPLE_UNIVERSAL_BUILD */
155
156/* Define to enable the "filter-aaaa-on-v4" option. */
157/* #undef ALLOW_FILTER_AAAA_ON_V4 */
158
159/* Define if recvmsg() does not meet all of the BSD socket API specifications.
160   */
161/* #undef BROKEN_RECVMSG */
162
163/* Define if you cannot bind() before connect() for TCP sockets. */
164/* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */
165
166/* Define to enable "rrset-order fixed" syntax. */
167/* #undef DNS_RDATASET_FIXED */
168
169/* Define to enable rpz-nsdname rules. */
170/* #undef ENABLE_RPZ_NSDNAME */
171
172/* Define to enable rpz-nsip rules. */
173/* #undef ENABLE_RPZ_NSIP */
174
175/* Solaris hack to get select_large_fdset. */
176/* #undef FD_SETSIZE */
177
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#define FLEXIBLE_ARRAY_MEMBER /**/
186
187/* Define to 1 if you have the `chroot' function. */
188#define HAVE_CHROOT 1
189
190/* Define to 1 if you have the <devpoll.h> header file. */
191/* #undef HAVE_DEVPOLL_H */
192
193/* Define to 1 if you have the `dlclose' function. */
194#define HAVE_DLCLOSE 1
195
196/* Define to 1 if you have the <dlfcn.h> header file. */
197#define HAVE_DLFCN_H 1
198
199/* Define to 1 if you have the `dlopen' function. */
200#define HAVE_DLOPEN 1
201
202/* Define to 1 if you have the `dlsym' function. */
203#define HAVE_DLSYM 1
204
205/* Define to 1 if you have the `EVP_sha256' function. */
206#define HAVE_EVP_SHA256 1
207
208/* Define to 1 if you have the `EVP_sha384' function. */
209#define HAVE_EVP_SHA384 1
210
211/* Define to 1 if you have the `EVP_sha512' function. */
212#define HAVE_EVP_SHA512 1
213
214/* Define to 1 if you have the <fcntl.h> header file. */
215#define HAVE_FCNTL_H 1
216
217/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
218/* #undef HAVE_GSSAPI_GSSAPI_H */
219
220/* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
221/* #undef HAVE_GSSAPI_GSSAPI_KRB5_H */
222
223/* Define to 1 if you have the <gssapi.h> header file. */
224/* #undef HAVE_GSSAPI_H */
225
226/* Define to 1 if you have the <gssapi_krb5.h> header file. */
227/* #undef HAVE_GSSAPI_KRB5_H */
228
229/* Define to 1 if you have the <inttypes.h> header file. */
230#define HAVE_INTTYPES_H 1
231
232/* Define to 1 if you have the <kerberosv5/krb5.h> header file. */
233/* #undef HAVE_KERBEROSV5_KRB5_H */
234
235/* Define to 1 if you have the <krb5.h> header file. */
236/* #undef HAVE_KRB5_H */
237
238/* Define to 1 if you have the <krb5/krb5.h> header file. */
239/* #undef HAVE_KRB5_KRB5_H */
240
241/* Define to 1 if you have the `c' library (-lc). */
242/* #undef HAVE_LIBC */
243
244/* Define to 1 if you have the `cap' library (-lcap). */
245/* #undef HAVE_LIBCAP */
246
247/* if system have backtrace function */
248/* #undef HAVE_LIBCTRACE */
249
250/* Define to 1 if you have the `c_r' library (-lc_r). */
251/* #undef HAVE_LIBC_R */
252
253/* Define to 1 if you have the `nsl' library (-lnsl). */
254/* #undef HAVE_LIBNSL */
255
256/* Define to 1 if you have the `pthread' library (-lpthread). */
257/* #undef HAVE_LIBPTHREAD */
258
259/* Define to 1 if you have the `rt' library (-lrt). */
260/* #undef HAVE_LIBRT */
261
262/* Define to 1 if you have the `scf' library (-lscf). */
263/* #undef HAVE_LIBSCF */
264
265/* Define to 1 if you have the `socket' library (-lsocket). */
266/* #undef HAVE_LIBSOCKET */
267
268/* Define to 1 if you have the `thr' library (-lthr). */
269/* #undef HAVE_LIBTHR */
270
271/* Define if libxml2 was found */
272/* #undef HAVE_LIBXML2 */
273
274/* Define to 1 if you have the <linux/capability.h> header file. */
275/* #undef HAVE_LINUX_CAPABILITY_H */
276
277/* Define to 1 if you have the <linux/types.h> header file. */
278/* #undef HAVE_LINUX_TYPES_H */
279
280/* Define to 1 if you have the <locale.h> header file. */
281#define HAVE_LOCALE_H 1
282
283/* Define to 1 if you have the <memory.h> header file. */
284#define HAVE_MEMORY_H 1
285
286/* Define to 1 if you have the `nanosleep' function. */
287#define HAVE_NANOSLEEP 1
288
289/* Define to 1 if you have the <net/if6.h> header file. */
290/* #undef HAVE_NET_IF6_H */
291
292/* Define if your OpenSSL version supports ECDSA. */
293#define HAVE_OPENSSL_ECDSA 1
294
295/* Define if your OpenSSL version supports GOST. */
296/* #undef HAVE_OPENSSL_GOST */
297
298/* Define to 1 if you have the `pthread_yield' function. */
299#define HAVE_PTHREAD_YIELD 1
300
301/* Define to 1 if you have the `pthread_yield_np' function. */
302/* #undef HAVE_PTHREAD_YIELD_NP */
303
304/* Define to 1 if you have the `readline' function. */
305#define HAVE_READLINE 1
306
307/* Define to 1 if you have the <regex.h> header file. */
308#define HAVE_REGEX_H 1
309
310/* Define to 1 if you have the <sched.h> header file. */
311#define HAVE_SCHED_H 1
312
313/* Define to 1 if you have the `sched_yield' function. */
314#define HAVE_SCHED_YIELD 1
315
316/* Define to 1 if you have the `setegid' function. */
317#define HAVE_SETEGID 1
318
319/* Define to 1 if you have the `seteuid' function. */
320#define HAVE_SETEUID 1
321
322/* Define to 1 if you have the `setlocale' function. */
323#define HAVE_SETLOCALE 1
324
325/* Define to 1 if you have the `setresgid' function. */
326#define HAVE_SETRESGID 1
327
328/* Define to 1 if you have the `setresuid' function. */
329#define HAVE_SETRESUID 1
330
331/* Define to 1 if you have the <stdint.h> header file. */
332#define HAVE_STDINT_H 1
333
334/* Define to 1 if you have the <stdlib.h> header file. */
335#define HAVE_STDLIB_H 1
336
337/* Define to 1 if you have the <strings.h> header file. */
338#define HAVE_STRINGS_H 1
339
340/* Define to 1 if you have the <string.h> header file. */
341#define HAVE_STRING_H 1
342
343/* Define to 1 if you have the <sys/capability.h> header file. */
344/* #undef HAVE_SYS_CAPABILITY_H */
345
346/* Define to 1 if you have the <sys/devpoll.h> header file. */
347/* #undef HAVE_SYS_DEVPOLL_H */
348
349/* Define to 1 if you have the <sys/dyntune.h> header file. */
350/* #undef HAVE_SYS_DYNTUNE_H */
351
352/* Define to 1 if you have the <sys/param.h> header file. */
353#define HAVE_SYS_PARAM_H 1
354
355/* Define to 1 if you have the <sys/prctl.h> header file. */
356/* #undef HAVE_SYS_PRCTL_H */
357
358/* Define to 1 if you have the <sys/select.h> header file. */
359#define HAVE_SYS_SELECT_H 1
360
361/* Define to 1 if you have the <sys/sockio.h> header file. */
362#define HAVE_SYS_SOCKIO_H 1
363
364/* Define to 1 if you have the <sys/stat.h> header file. */
365#define HAVE_SYS_STAT_H 1
366
367/* Define to 1 if you have the <sys/sysctl.h> header file. */
368#define HAVE_SYS_SYSCTL_H 1
369
370/* Define to 1 if you have the <sys/time.h> header file. */
371#define HAVE_SYS_TIME_H 1
372
373/* Define to 1 if you have the <sys/types.h> header file. */
374#define HAVE_SYS_TYPES_H 1
375
376/* Define to 1 if you have the <sys/un.h> header file. */
377#define HAVE_SYS_UN_H 1
378
379/* Define if running under Compaq TruCluster */
380/* #undef HAVE_TRUCLUSTER */
381
382/* Define to 1 if you have the <unistd.h> header file. */
383#define HAVE_UNISTD_H 1
384
385/* Define to 1 if you have the `usleep' function. */
386#define HAVE_USLEEP 1
387
388/* return type of gai_strerror */
389#define IRS_GAISTRERROR_RETURN_T const char *
390
391/* Define to the buffer length type used by getnameinfo(3). */
392#define IRS_GETNAMEINFO_BUFLEN_T size_t
393
394/* Define to the flags type used by getnameinfo(3). */
395#define IRS_GETNAMEINFO_FLAGS_T int
396
397/* Define to allow building of objects for dlopen(). */
398#define ISC_DLZ_DLOPEN 1
399
400/* Define to the sub-directory in which libtool stores uninstalled libraries.
401   */
402#define LT_OBJDIR ".libs/"
403
404/* Defined if extern char *optarg is not declared. */
405/* #undef NEED_OPTARG */
406
407/* Define if connect does not honour the permission on the UNIX domain socket.
408   */
409/* #undef NEED_SECURE_DIRECTORY */
410
411/* Use the new XML schema for statistics */
412/* #undef NEWSTATS */
413
414/* Define to the address where bug reports for this package should be sent. */
415#define PACKAGE_BUGREPORT ""
416
417/* Define to the full name of this package. */
418#define PACKAGE_NAME ""
419
420/* Define to the full name and version of this package. */
421#define PACKAGE_STRING ""
422
423/* Define to the one symbol short name of this package. */
424#define PACKAGE_TARNAME ""
425
426/* Define to the home page for this package. */
427#define PACKAGE_URL ""
428
429/* Define to the version of this package. */
430#define PACKAGE_VERSION ""
431
432/* Sets which flag to pass to open/fcntl to make non-blocking
433   (O_NDELAY/O_NONBLOCK). */
434#define PORT_NONBLOCK O_NONBLOCK
435
436/* The size of `void *', as computed by sizeof. */
437#define SIZEOF_VOID_P 8
438
439/* Define to 1 if you have the ANSI C header files. */
440#define STDC_HEADERS 1
441
442/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
443#define TIME_WITH_SYS_TIME 1
444
445/* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
446   non-blocking. */
447/* #undef USE_FIONBIO_IOCTL */
448
449/* Enable DNS Response Rate Limiting */
450/* #undef USE_RRL */
451
452/* define if idnkit support is to be included. */
453/* #undef WITH_IDN */
454
455/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
456   significant byte first (like Motorola and SPARC, unlike Intel). */
457#if defined AC_APPLE_UNIVERSAL_BUILD
458# if defined __BIG_ENDIAN__
459#  define WORDS_BIGENDIAN 1
460# endif
461#else
462# ifndef WORDS_BIGENDIAN
463/* #  undef WORDS_BIGENDIAN */
464# endif
465#endif
466
467/* Define to empty if `const' does not conform to ANSI C. */
468/* #undef const */
469
470/* Define to empty if your compiler does not support "static inline". */
471#define inline /**/
472
473/* Define to `unsigned int' if <sys/types.h> does not define. */
474/* #undef size_t */
475
476/* Define to `int' if <sys/types.h> does not define. */
477/* #undef ssize_t */
478
479/* Define to `unsigned long' if <sys/types.h> does not define. */
480/* #undef uintptr_t */
481
482/* Define to empty if the keyword `volatile' does not work. Warning: valid
483   code using `volatile' can become incorrect without. Disable with care. */
484/* #undef volatile */
485