Fix some NULL pointer dereferences, most of the in debug code though.
[dragonfly/netmp.git] / usr.sbin / named / config.h
blob8132fc32bdc7128e189c933a16abafbad9dc6059
1 /* config.h. Generated by configure. */
2 /* config.h.in. Generated from configure.in by autoheader. */
3 /*
4 * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
5 * Copyright (C) 1999-2003 Internet Software Consortium.
7 * Permission to use, copy, modify, and 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.47.2.3.2.20 2005/10/20 23:57:38 marka Exp $ */
21 /* $DragonFly: src/usr.sbin/named/config.h,v 1.3 2007/02/15 20:28:49 victor Exp $ */
23 /***
24 *** This file is not to be included by any public header files, because
25 *** it does not get installed.
26 ***/
28 /* define to `int' if <sys/types.h> doesn't define. */
29 /* #undef ssize_t */
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 /* #undef HAVE_SIGWAIT */
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 /* #undef HAVE_SYSCONF */
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 chroot() is available */
65 #define HAVE_CHROOT 1
67 /* define if tzset() is available */
68 #define HAVE_TZSET 1
70 /* define if struct addrinfo exists */
71 #define HAVE_ADDRINFO 1
73 /* define if getaddrinfo() exists */
74 #define HAVE_GETADDRINFO 1
76 /* define if gai_strerror() exists */
77 #define HAVE_GAISTRERROR 1
79 /* define if arc4random() exists */
80 #define HAVE_ARC4RANDOM 1
82 /* define if pthread_setconcurrency() should be called to tell the
83 * OS how many threads we might want to run.
85 /* #undef CALL_PTHREAD_SETCONCURRENCY */
87 /* define if IPv6 is not disabled */
88 #define WANT_IPV6 1
90 /* define if flockfile() is available */
91 #define HAVE_FLOCKFILE 1
93 /* define if getc_unlocked() is available */
94 #define HAVE_GETCUNLOCKED 1
96 /* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
97 /* #undef SHUTUP_SPUTAUX */
98 #ifdef SHUTUP_SPUTAUX
99 struct __sFILE;
100 extern __inline int __sputaux(int _c, struct __sFILE *_p);
101 #endif
103 /* Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
104 /* #undef SHUTUP_SIGWAIT */
105 #ifdef SHUTUP_SIGWAIT
106 int sigwait(const unsigned int *set, int *sig);
107 #endif
109 /* Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
110 /* #undef SHUTUP_STDARG_CAST */
111 #if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
112 #include <stdarg.h> /* Grr. Must be included *every time*. */
114 * The silly continuation line is to keep configure from
115 * commenting out the #undef.
117 #undef \
118 va_start
119 #define va_start(ap, last) \
120 do { \
121 union { const void *konst; long *var; } _u; \
122 _u.konst = &(last); \
123 ap = (va_list)(_u.var + __va_words(__typeof(last))); \
124 } while (0)
125 #endif /* SHUTUP_STDARG_CAST && __GNUC__ */
127 /* define if the system has a random number generating device */
128 #define PATH_RANDOMDEV "/dev/urandom"
130 /* define if pthread_attr_getstacksize() is available */
131 /* #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE */
133 /* define if pthread_attr_setstacksize() is available */
134 /* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */
136 /* define if you have strerror in the C library. */
137 #define HAVE_STRERROR 1
139 /* Define if you are running under Compaq TruCluster. */
140 /* #undef HAVE_TRUCLUSTER */
142 /* Define if OpenSSL includes DSA support */
143 #define HAVE_OPENSSL_DSA 1
145 /* Define to the length type used by the socket API (socklen_t, size_t, int). */
146 #define ISC_SOCKADDR_LEN_T socklen_t
148 /* Define if threads need PTHREAD_SCOPE_SYSTEM */
149 /* #undef NEED_PTHREAD_SCOPE_SYSTEM */
151 /* Define if recvmsg() does not meet all of the BSD socket API specifications.
153 /* #undef BROKEN_RECVMSG */
155 /* Define if you cannot bind() before connect() for TCP sockets. */
156 /* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */
158 /* Define if libcrypto has DH_generate_parameters */
159 #define HAVE_DH_GENERATE_PARAMETERS 1
161 /* Define to 1 if you have the <dlfcn.h> header file. */
162 /* #undef HAVE_DLFCN_H */
164 /* Define if libcrypto has DSA_generate_parameters */
165 #define HAVE_DSA_GENERATE_PARAMETERS 1
167 /* Define to 1 if you have the <fcntl.h> header file. */
168 #define HAVE_FCNTL_H 1
170 /* Define to 1 if you have the <inttypes.h> header file. */
171 #define HAVE_INTTYPES_H 1
173 /* Define to 1 if you have the `c' library (-lc). */
174 /* #undef HAVE_LIBC */
176 /* Define to 1 if you have the `c_r' library (-lc_r). */
177 /* #undef HAVE_LIBC_R */
179 /* Define to 1 if you have the `nsl' library (-lnsl). */
180 /* #undef HAVE_LIBNSL */
182 /* Define to 1 if you have the `pthread' library (-lpthread). */
183 /* #undef HAVE_LIBPTHREAD */
185 /* Define to 1 if you have the `scf' library (-lscf). */
186 /* #undef HAVE_LIBSCF */
188 /* Define to 1 if you have the `socket' library (-lsocket). */
189 /* #undef HAVE_LIBSOCKET */
191 /* Define to 1 if you have the <linux/capability.h> header file. */
192 /* #undef HAVE_LINUX_CAPABILITY_H */
194 /* Define to 1 if you have the <memory.h> header file. */
195 #define HAVE_MEMORY_H 1
197 /* Define to 1 if you have the <net/if6.h> header file. */
198 /* #undef HAVE_NET_IF6_H */
200 /* Define if libcrypto has RSA_generate_key */
201 #define HAVE_RSA_GENERATE_KEY 1
203 /* Define to 1 if you have the <stdint.h> header file. */
204 #define HAVE_STDINT_H 1
206 /* Define to 1 if you have the <stdlib.h> header file. */
207 #define HAVE_STDLIB_H 1
209 /* Define to 1 if you have the <strings.h> header file. */
210 #define HAVE_STRINGS_H 1
212 /* Define to 1 if you have the <string.h> header file. */
213 #define HAVE_STRING_H 1
215 /* Define to 1 if you have the <sys/param.h> header file. */
216 #define HAVE_SYS_PARAM_H 1
218 /* Define to 1 if you have the <sys/prctl.h> header file. */
219 /* #undef HAVE_SYS_PRCTL_H */
221 /* Define to 1 if you have the <sys/select.h> header file. */
222 #define HAVE_SYS_SELECT_H 1
224 /* Define to 1 if you have the <sys/sockio.h> header file. */
225 #define HAVE_SYS_SOCKIO_H 1
227 /* Define to 1 if you have the <sys/stat.h> header file. */
228 #define HAVE_SYS_STAT_H 1
230 /* Define to 1 if you have the <sys/sysctl.h> header file. */
231 #define HAVE_SYS_SYSCTL_H 1
233 /* Define to 1 if you have the <sys/time.h> header file. */
234 #define HAVE_SYS_TIME_H 1
236 /* Define to 1 if you have the <sys/types.h> header file. */
237 #define HAVE_SYS_TYPES_H 1
239 /* Define if running under Compaq TruCluster */
240 /* #undef HAVE_TRUCLUSTER */
242 /* Define to 1 if you have the <unistd.h> header file. */
243 #define HAVE_UNISTD_H 1
245 /* Defined if extern char *optarg is not declared. */
246 /* #undef NEED_OPTARG */
248 /* Define to the address where bug reports for this package should be sent. */
249 #define PACKAGE_BUGREPORT ""
251 /* Define to the full name of this package. */
252 #define PACKAGE_NAME ""
254 /* Define to the full name and version of this package. */
255 #define PACKAGE_STRING ""
257 /* Define to the one symbol short name of this package. */
258 #define PACKAGE_TARNAME ""
260 /* Define to the version of this package. */
261 #define PACKAGE_VERSION ""
263 /* Sets which flag to pass to open/fcntl to make non-blocking
264 (O_NDELAY/O_NONBLOCK). */
265 #define PORT_NONBLOCK O_NONBLOCK
267 /* Define to 1 if you have the ANSI C header files. */
268 #define STDC_HEADERS 1
270 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
271 #define TIME_WITH_SYS_TIME 1
273 /* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
274 non-blocking. */
275 /* #undef USE_FIONBIO_IOCTL */
277 /* Define to 1 if your processor stores words with the most significant byte
278 first (like Motorola and SPARC, unlike Intel and VAX). */
279 /* #undef WORDS_BIGENDIAN */
281 /* Define to empty if `const' does not conform to ANSI C. */
282 /* #undef const */
284 /* Define to `__inline__' or `__inline' if that's what the C compiler
285 calls it, or to nothing if 'inline' is not supported under any name. */
286 #ifndef __cplusplus
287 /* #undef inline */
288 #endif
290 /* Define to `unsigned' if <sys/types.h> does not define. */
291 /* #undef size_t */
293 /* Define to `int' if <sys/types.h> does not define. */
294 /* #undef ssize_t */
296 /* Define to `unsigned long' if <sys/types.h> does not define. */
297 /* #undef uintptr_t */