config.h.in 11 KB
Newer Older
Mark Andrews's avatar
Mark Andrews committed
1
/* config.h.in.  Generated from configure.in by autoheader.  */
2
/*
3
 * Copyright (C) 2004, 2005, 2007, 2008  Internet Systems Consortium, Inc. ("ISC")
Mark Andrews's avatar
regen  
Mark Andrews committed
4
 * Copyright (C) 1999-2003  Internet Software Consortium.
5
 *
Evan Hunt's avatar
Evan Hunt committed
6
 * Permission to use, copy, modify, and/or distribute this software for any
7 8
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
9
 *
Mark Andrews's avatar
regen  
Mark Andrews committed
10 11 12 13 14 15 16
 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 * PERFORMANCE OF THIS SOFTWARE.
17 18
 */

19
/* $Id: config.h.in,v 1.126 2010/05/26 23:44:27 marka Exp $ */
Rob Austein's avatar
regen  
Rob Austein committed
20 21

/*! \file */
22

23 24 25 26
/***
 *** This file is not to be included by any public header files, because
 *** it does not get installed.
 ***/
Bob Halley's avatar
Bob Halley committed
27

Rob Austein's avatar
regen  
Rob Austein committed
28
/** define on DEC OSF to enable 4.4BSD style sa_len support */
29 30
#undef _SOCKADDR_LEN

Rob Austein's avatar
regen  
Rob Austein committed
31
/** define if your system needs pthread_init() before using pthreads */
Bob Halley's avatar
update  
Bob Halley committed
32 33
#undef NEED_PTHREAD_INIT

Rob Austein's avatar
regen  
Rob Austein committed
34
/** define if your system has sigwait() */
Bob Halley's avatar
update  
Bob Halley committed
35 36
#undef HAVE_SIGWAIT

Rob Austein's avatar
regen  
Rob Austein committed
37
/** define if sigwait() is the UnixWare flavor */
38 39
#undef HAVE_UNIXWARE_SIGWAIT

Rob Austein's avatar
regen  
Rob Austein committed
40
/** define on Solaris to get sigwait() to work using pthreads semantics */
Bob Halley's avatar
update  
Bob Halley committed
41 42
#undef _POSIX_PTHREAD_SEMANTICS

Rob Austein's avatar
regen  
Rob Austein committed
43
/** define if LinuxThreads is in use */
Bob Halley's avatar
update  
Bob Halley committed
44 45
#undef HAVE_LINUXTHREADS

Rob Austein's avatar
regen  
Rob Austein committed
46
/** define if sysconf() is available */
Brian Wellington's avatar
Brian Wellington committed
47 48
#undef HAVE_SYSCONF

Rob Austein's avatar
regen  
Rob Austein committed
49
/** define if sysctlbyname() is available */
50 51
#undef HAVE_SYSCTLBYNAME

Rob Austein's avatar
regen  
Rob Austein committed
52
/** define if catgets() is available */
Bob Halley's avatar
Bob Halley committed
53 54
#undef HAVE_CATGETS

Rob Austein's avatar
regen  
Rob Austein committed
55
/** define if getifaddrs() exists */
Mark Andrews's avatar
regen  
Mark Andrews committed
56 57
#undef HAVE_GETIFADDRS

Rob Austein's avatar
regen  
Rob Austein committed
58
/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
59 60
#undef HAVE_IFLIST_SYSCTL

Rob Austein's avatar
regen  
Rob Austein committed
61
/** define if tzset() is available */
62 63
#undef HAVE_TZSET

Rob Austein's avatar
regen  
Rob Austein committed
64
/** define if struct addrinfo exists */
65 66
#undef HAVE_ADDRINFO

Rob Austein's avatar
regen  
Rob Austein committed
67
/** define if getaddrinfo() exists */
68 69
#undef HAVE_GETADDRINFO

Rob Austein's avatar
regen  
Rob Austein committed
70
/** define if gai_strerror() exists */
71 72
#undef HAVE_GAISTRERROR

Rob Austein's avatar
regen  
Rob Austein committed
73
/** define if arc4random() exists */
Mark Andrews's avatar
regen  
Mark Andrews committed
74 75
#undef HAVE_ARC4RANDOM

Rob Austein's avatar
regen  
Rob Austein committed
76 77
/**
 * define if pthread_setconcurrency() should be called to tell the
78 79 80 81
 * OS how many threads we might want to run.
 */
#undef CALL_PTHREAD_SETCONCURRENCY

Rob Austein's avatar
regen  
Rob Austein committed
82
/** define if IPv6 is not disabled */
83 84
#undef WANT_IPV6

Rob Austein's avatar
regen  
Rob Austein committed
85
/** define if flockfile() is available */
86 87
#undef HAVE_FLOCKFILE

Rob Austein's avatar
regen  
Rob Austein committed
88
/** define if getc_unlocked() is available */
Brian Wellington's avatar
Brian Wellington committed
89 90
#undef HAVE_GETCUNLOCKED

Rob Austein's avatar
regen  
Rob Austein committed
91
/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
92 93 94 95 96 97
#undef SHUTUP_SPUTAUX
#ifdef SHUTUP_SPUTAUX
struct __sFILE;
extern __inline int __sputaux(int _c, struct __sFILE *_p);
#endif

Rob Austein's avatar
regen  
Rob Austein committed
98
/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
David Lawrence's avatar
David Lawrence committed
99 100 101 102 103
#undef SHUTUP_SIGWAIT
#ifdef SHUTUP_SIGWAIT
int sigwait(const unsigned int *set, int *sig);
#endif

Rob Austein's avatar
regen  
Rob Austein committed
104
/** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
105 106
#undef SHUTUP_STDARG_CAST
#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
Rob Austein's avatar
regen  
Rob Austein committed
107 108
#include <stdarg.h>		/** Grr.  Must be included *every time*. */
/**
109 110 111
 * The silly continuation line is to keep configure from
 * commenting out the #undef.
 */
112

113
#undef \
Mark Andrews's avatar
Mark Andrews committed
114 115 116 117 118 119 120
	va_start
#define	va_start(ap, last) \
	do { \
		union { const void *konst; long *var; } _u; \
		_u.konst = &(last); \
		ap = (va_list)(_u.var + __va_words(__typeof(last))); \
	} while (0)
Rob Austein's avatar
regen  
Rob Austein committed
121
#endif /** SHUTUP_STDARG_CAST && __GNUC__ */
122

Rob Austein's avatar
regen  
Rob Austein committed
123
/** define if the system has a random number generating device */
124
#undef PATH_RANDOMDEV
125

Rob Austein's avatar
regen  
Rob Austein committed
126
/** define if pthread_attr_getstacksize() is available */
127 128
#undef HAVE_PTHREAD_ATTR_GETSTACKSIZE

Rob Austein's avatar
regen  
Rob Austein committed
129
/** define if pthread_attr_setstacksize() is available */
Mark Andrews's avatar
regen  
Mark Andrews committed
130 131
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE

Rob Austein's avatar
regen  
Rob Austein committed
132
/** define if you have strerror in the C library. */
133 134
#undef HAVE_STRERROR

Rob Austein's avatar
regen  
Rob Austein committed
135
/** Define if you are running under Compaq TruCluster. */
Mark Andrews's avatar
Mark Andrews committed
136 137
#undef HAVE_TRUCLUSTER

Mark Andrews's avatar
regen  
Mark Andrews committed
138 139 140
/* Define if OpenSSL includes DSA support */
#undef HAVE_OPENSSL_DSA

141 142 143
/* Define to the length type used by the socket API (socklen_t, size_t, int). */
#undef ISC_SOCKADDR_LEN_T

144 145 146
/* Define if threads need PTHREAD_SCOPE_SYSTEM */
#undef NEED_PTHREAD_SCOPE_SYSTEM

Mark Andrews's avatar
regen  
Mark Andrews committed
147 148 149
/* Define to enable the "filter-aaaa-on-v4" option. */
#undef ALLOW_FILTER_AAAA_ON_V4

150 151 152 153
/* Define if recvmsg() does not meet all of the BSD socket API specifications.
   */
#undef BROKEN_RECVMSG

154 155 156
/* Define if you cannot bind() before connect() for TCP sockets. */
#undef BROKEN_TCP_BIND_BEFORE_CONNECT

157 158 159
/* Define to enable "rrset-order fixed" syntax. */
#undef DNS_RDATASET_FIXED

160 161 162
/* Solaris hack to get select_large_fdset. */
#undef FD_SETSIZE

163 164 165 166 167 168 169 170 171
/* Define to nothing if C supports flexible array members, and to 1 if it does
   not. That way, with a declaration like `struct s { int n; double
   d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
   compilers. When computing the size of such an object, don't use 'sizeof
   (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
   instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
   MSVC and with C++ compilers. */
#undef FLEXIBLE_ARRAY_MEMBER

172 173 174
/* Define to 1 if you have the `chroot' function. */
#undef HAVE_CHROOT

Mark Andrews's avatar
Mark Andrews committed
175
/* Define to 1 if you have the <dlfcn.h> header file. */
Brian Wellington's avatar
Brian Wellington committed
176 177
#undef HAVE_DLFCN_H

Mark Andrews's avatar
regen  
Mark Andrews committed
178 179 180 181 182 183
/* Define to 1 if you have the `EVP_sha256' function. */
#undef HAVE_EVP_SHA256

/* Define to 1 if you have the `EVP_sha512' function. */
#undef HAVE_EVP_SHA512

Mark Andrews's avatar
Mark Andrews committed
184
/* Define to 1 if you have the <fcntl.h> header file. */
Bob Halley's avatar
Bob Halley committed
185 186
#undef HAVE_FCNTL_H

187 188 189 190 191 192
/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
#undef HAVE_GSSAPI_GSSAPI_H

/* Define to 1 if you have the <gssapi.h> header file. */
#undef HAVE_GSSAPI_H

Mark Andrews's avatar
Mark Andrews committed
193 194 195 196 197 198
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define to 1 if you have the `c' library (-lc). */
#undef HAVE_LIBC

199 200 201
/* Define to 1 if you have the `cap' library (-lcap). */
#undef HAVE_LIBCAP

Mark Andrews's avatar
regen  
Mark Andrews committed
202 203 204
/* if system have backtrace function */
#undef HAVE_LIBCTRACE

Mark Andrews's avatar
Mark Andrews committed
205 206 207
/* Define to 1 if you have the `c_r' library (-lc_r). */
#undef HAVE_LIBC_R

208 209 210
/* Define to 1 if you have the `nsl' library (-lnsl). */
#undef HAVE_LIBNSL

Mark Andrews's avatar
Mark Andrews committed
211 212 213
/* Define to 1 if you have the `pthread' library (-lpthread). */
#undef HAVE_LIBPTHREAD

214 215 216
/* Define to 1 if you have the `scf' library (-lscf). */
#undef HAVE_LIBSCF

Mark Andrews's avatar
Mark Andrews committed
217 218 219
/* Define to 1 if you have the `socket' library (-lsocket). */
#undef HAVE_LIBSOCKET

220 221 222
/* Define to 1 if you have the `thr' library (-lthr). */
#undef HAVE_LIBTHR

223 224 225
/* Define if libxml2 was found */
#undef HAVE_LIBXML2

Mark Andrews's avatar
Mark Andrews committed
226
/* Define to 1 if you have the <linux/capability.h> header file. */
227 228
#undef HAVE_LINUX_CAPABILITY_H

229 230 231
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H

Mark Andrews's avatar
Mark Andrews committed
232 233 234
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

235 236 237
/* Define to 1 if you have the `nanosleep' function. */
#undef HAVE_NANOSLEEP

Mark Andrews's avatar
Mark Andrews committed
238
/* Define to 1 if you have the <net/if6.h> header file. */
239 240
#undef HAVE_NET_IF6_H

241 242 243
/* Define to 1 if you have the <regex.h> header file. */
#undef HAVE_REGEX_H

244 245 246 247 248 249
/* Define to 1 if you have the `setegid' function. */
#undef HAVE_SETEGID

/* Define to 1 if you have the `seteuid' function. */
#undef HAVE_SETEUID

250 251 252
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE

253 254 255 256 257 258
/* Define to 1 if you have the `setresgid' function. */
#undef HAVE_SETRESGID

/* Define to 1 if you have the `setresuid' function. */
#undef HAVE_SETRESUID

Mark Andrews's avatar
Mark Andrews committed
259 260 261 262 263 264 265 266 267 268 269 270
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H

271 272 273
/* Define to 1 if you have the <sys/capability.h> header file. */
#undef HAVE_SYS_CAPABILITY_H

274 275 276
/* Define to 1 if you have the <sys/devpoll.h> header file. */
#undef HAVE_SYS_DEVPOLL_H

277 278 279
/* Define to 1 if you have the <sys/dyntune.h> header file. */
#undef HAVE_SYS_DYNTUNE_H

Mark Andrews's avatar
regen  
Mark Andrews committed
280 281 282
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H

Mark Andrews's avatar
Mark Andrews committed
283
/* Define to 1 if you have the <sys/prctl.h> header file. */
284 285
#undef HAVE_SYS_PRCTL_H

Mark Andrews's avatar
Mark Andrews committed
286
/* Define to 1 if you have the <sys/select.h> header file. */
287
#undef HAVE_SYS_SELECT_H
Bob Halley's avatar
Bob Halley committed
288

Mark Andrews's avatar
Mark Andrews committed
289
/* Define to 1 if you have the <sys/sockio.h> header file. */
Bob Halley's avatar
update  
Bob Halley committed
290 291
#undef HAVE_SYS_SOCKIO_H

Mark Andrews's avatar
Mark Andrews committed
292 293 294 295
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H

/* Define to 1 if you have the <sys/sysctl.h> header file. */
296 297
#undef HAVE_SYS_SYSCTL_H

Mark Andrews's avatar
Mark Andrews committed
298
/* Define to 1 if you have the <sys/time.h> header file. */
Bob Halley's avatar
Bob Halley committed
299 300
#undef HAVE_SYS_TIME_H

Mark Andrews's avatar
Mark Andrews committed
301 302 303
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

304 305 306
/* Define to 1 if you have the <sys/un.h> header file. */
#undef HAVE_SYS_UN_H

Mark Andrews's avatar
Mark Andrews committed
307 308 309 310
/* Define if running under Compaq TruCluster */
#undef HAVE_TRUCLUSTER

/* Define to 1 if you have the <unistd.h> header file. */
Bob Halley's avatar
Bob Halley committed
311
#undef HAVE_UNISTD_H
Michael Graff's avatar
Michael Graff committed
312

Mark Andrews's avatar
regen  
Mark Andrews committed
313
/* return type of gai_strerror */
Mark Andrews's avatar
regen  
Mark Andrews committed
314
#undef IRS_GAISTRERROR_RETURN_T
315

316 317 318 319 320 321
/* Define to the buffer length type used by getnameinfo(3). */
#undef IRS_GETNAMEINFO_BUFLEN_T

/* Define to the flags type used by getnameinfo(3). */
#undef IRS_GETNAMEINFO_FLAGS_T

Mark Andrews's avatar
regen  
Mark Andrews committed
322 323
/* Defined if extern char *optarg is not declared. */
#undef NEED_OPTARG
324

325 326 327 328
/* Define if connect does not honour the permission on the UNIX domain socket.
   */
#undef NEED_SECURE_DIRECTORY

Mark Andrews's avatar
Mark Andrews committed
329 330
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
331

Mark Andrews's avatar
Mark Andrews committed
332 333
/* Define to the full name of this package. */
#undef PACKAGE_NAME
Michael Graff's avatar
Michael Graff committed
334

Mark Andrews's avatar
Mark Andrews committed
335 336 337 338 339 340 341 342 343
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING

/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

/* Define to the version of this package. */
#undef PACKAGE_VERSION

344 345 346 347
/* Sets which flag to pass to open/fcntl to make non-blocking
   (O_NDELAY/O_NONBLOCK). */
#undef PORT_NONBLOCK

Mark Andrews's avatar
Mark Andrews committed
348 349 350 351 352 353
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME

354 355 356 357
/* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
   non-blocking. */
#undef USE_FIONBIO_IOCTL

358 359 360
/* define if idnkit support is to be included. */
#undef WITH_IDN

361 362 363 364 365 366 367
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
   significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
#if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
#elif ! defined __LITTLE_ENDIAN__
# undef WORDS_BIGENDIAN
#endif
Mark Andrews's avatar
Mark Andrews committed
368 369 370 371

/* Define to empty if `const' does not conform to ANSI C. */
#undef const

Mark Andrews's avatar
regen  
Mark Andrews committed
372 373 374
/* Define to `__inline__' or `__inline' if that's what the C compiler
   calls it, or to nothing if 'inline' is not supported under any name.  */
#ifndef __cplusplus
Mark Andrews's avatar
Mark Andrews committed
375
#undef inline
Mark Andrews's avatar
regen  
Mark Andrews committed
376
#endif
Mark Andrews's avatar
Mark Andrews committed
377

Evan Hunt's avatar
Evan Hunt committed
378
/* Define to `unsigned int' if <sys/types.h> does not define. */
Mark Andrews's avatar
Mark Andrews committed
379 380 381 382
#undef size_t

/* Define to `int' if <sys/types.h> does not define. */
#undef ssize_t
383 384 385

/* Define to `unsigned long' if <sys/types.h> does not define. */
#undef uintptr_t
386 387 388 389

/* Define to empty if the keyword `volatile' does not work. Warning: valid
   code using `volatile' can become incorrect without. Disable with care. */
#undef volatile