config.h.in 12.9 KB
Newer Older
Mark Andrews's avatar
Mark Andrews committed
1
/* config.h.in.  Generated from configure.in by autoheader.  */
2
/*
Evan Hunt's avatar
Evan Hunt committed
3
 * Copyright (C) 2004, 2005, 2007, 2008, 2012  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: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox 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 if OpenSSL includes ECDSA support */
#undef HAVE_OPENSSL_ECDSA

144 145 146
/* Define to the length type used by the socket API (socklen_t, size_t, int). */
#undef ISC_SOCKADDR_LEN_T

147 148 149
/* Define if threads need PTHREAD_SCOPE_SYSTEM */
#undef NEED_PTHREAD_SCOPE_SYSTEM

Automatic Updater's avatar
regen  
Automatic Updater committed
150 151 152
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD

Evan Hunt's avatar
Evan Hunt committed
153 154 155
/* Define to enable the "filter-aaaa-on-v4" and "filter-aaaa-on-v6" options.
   */
#undef ALLOW_FILTER_AAAA
Mark Andrews's avatar
regen  
Mark Andrews committed
156

Mark Andrews's avatar
regen  
Mark Andrews committed
157 158 159
/* define if ATF unit tests are to be built. */
#undef ATF_TEST

160 161 162 163
/* Define if recvmsg() does not meet all of the BSD socket API specifications.
   */
#undef BROKEN_RECVMSG

164 165 166
/* Define if you cannot bind() before connect() for TCP sockets. */
#undef BROKEN_TCP_BIND_BEFORE_CONNECT

167 168 169
/* Define to enable "rrset-order fixed" syntax. */
#undef DNS_RDATASET_FIXED

170 171 172 173 174 175
/* Define to enable rpz-nsdname rules. */
#undef ENABLE_RPZ_NSDNAME

/* Define to enable rpz-nsip rules. */
#undef ENABLE_RPZ_NSIP

176 177 178
/* Solaris hack to get select_large_fdset. */
#undef FD_SETSIZE

179 180 181 182 183 184 185 186 187
/* 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

188 189 190
/* Define to 1 if you have the `chroot' function. */
#undef HAVE_CHROOT

191 192 193
/* Define to 1 if you have the <devpoll.h> header file. */
#undef HAVE_DEVPOLL_H

Mark Andrews's avatar
regen  
Mark Andrews committed
194 195 196
/* Define to 1 if you have the `dlclose' function. */
#undef HAVE_DLCLOSE

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

Mark Andrews's avatar
regen  
Mark Andrews committed
200 201 202 203 204 205
/* Define to 1 if you have the `dlopen' function. */
#undef HAVE_DLOPEN

/* Define to 1 if you have the `dlsym' function. */
#undef HAVE_DLSYM

Mark Andrews's avatar
regen  
Mark Andrews committed
206 207 208
/* Define to 1 if you have the `EVP_sha256' function. */
#undef HAVE_EVP_SHA256

209 210 211
/* Define to 1 if you have the `EVP_sha384' function. */
#undef HAVE_EVP_SHA384

Mark Andrews's avatar
regen  
Mark Andrews committed
212 213 214
/* Define to 1 if you have the `EVP_sha512' function. */
#undef HAVE_EVP_SHA512

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

218 219 220
/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
#undef HAVE_GSSAPI_GSSAPI_H

221 222 223
/* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
#undef HAVE_GSSAPI_GSSAPI_KRB5_H

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

227 228 229
/* Define to 1 if you have the <gssapi_krb5.h> header file. */
#undef HAVE_GSSAPI_KRB5_H

Mark Andrews's avatar
Mark Andrews committed
230 231 232
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

233 234 235
/* Define to 1 if you have the <kerberosv5/krb5.h> header file. */
#undef HAVE_KERBEROSV5_KRB5_H

236 237 238 239 240 241
/* Define to 1 if you have the <krb5.h> header file. */
#undef HAVE_KRB5_H

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

Mark Andrews's avatar
Mark Andrews committed
242 243 244
/* Define to 1 if you have the `c' library (-lc). */
#undef HAVE_LIBC

245 246 247
/* Define to 1 if you have the `cap' library (-lcap). */
#undef HAVE_LIBCAP

Mark Andrews's avatar
regen  
Mark Andrews committed
248 249 250
/* if system have backtrace function */
#undef HAVE_LIBCTRACE

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

254 255 256
/* Define to 1 if you have the `nsl' library (-lnsl). */
#undef HAVE_LIBNSL

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

260 261 262
/* Define to 1 if you have the `scf' library (-lscf). */
#undef HAVE_LIBSCF

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

266 267 268
/* Define to 1 if you have the `thr' library (-lthr). */
#undef HAVE_LIBTHR

269 270 271
/* Define if libxml2 was found */
#undef HAVE_LIBXML2

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

275 276 277
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H

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

Evan Hunt's avatar
Evan Hunt committed
281 282 283
/* Define to 1 if you have the `mmap' function. */
#undef HAVE_MMAP

284 285 286
/* Define to 1 if you have the `nanosleep' function. */
#undef HAVE_NANOSLEEP

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

290 291 292
/* Define if your OpenSSL version supports ECDSA. */
#undef HAVE_OPENSSL_ECDSA

Mark Andrews's avatar
rege  
Mark Andrews committed
293 294 295
/* Define if your OpenSSL version supports GOST. */
#undef HAVE_OPENSSL_GOST

296 297 298
/* Define to 1 if you have the `readline' function. */
#undef HAVE_READLINE

299 300 301
/* Define to 1 if you have the <regex.h> header file. */
#undef HAVE_REGEX_H

302 303 304 305 306 307
/* Define to 1 if you have the `setegid' function. */
#undef HAVE_SETEGID

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

308 309 310
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE

311 312 313 314 315 316
/* 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
317 318 319 320 321 322 323 324 325 326 327 328
/* 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

329 330 331
/* Define to 1 if you have the <sys/capability.h> header file. */
#undef HAVE_SYS_CAPABILITY_H

332 333 334
/* Define to 1 if you have the <sys/devpoll.h> header file. */
#undef HAVE_SYS_DEVPOLL_H

335 336 337
/* Define to 1 if you have the <sys/dyntune.h> header file. */
#undef HAVE_SYS_DYNTUNE_H

Evan Hunt's avatar
Evan Hunt committed
338 339 340
/* Define to 1 if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H

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

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

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

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

Mark Andrews's avatar
Mark Andrews committed
353 354 355 356
/* 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. */
357 358
#undef HAVE_SYS_SYSCTL_H

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

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

365 366 367
/* Define to 1 if you have the <sys/un.h> header file. */
#undef HAVE_SYS_UN_H

Mark Andrews's avatar
Mark Andrews committed
368 369 370 371
/* 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
372
#undef HAVE_UNISTD_H
Michael Graff's avatar
Michael Graff committed
373

Automatic Updater's avatar
regen  
Automatic Updater committed
374 375 376
/* Define to 1 if you have the `usleep' function. */
#undef HAVE_USLEEP

Mark Andrews's avatar
regen  
Mark Andrews committed
377
/* return type of gai_strerror */
Mark Andrews's avatar
regen  
Mark Andrews committed
378
#undef IRS_GAISTRERROR_RETURN_T
379

380 381 382 383 384 385
/* 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

386 387 388
/* Define to allow building of objects for dlopen(). */
#undef ISC_DLZ_DLOPEN

389 390 391 392
/* Define to the sub-directory in which libtool stores uninstalled libraries.
   */
#undef LT_OBJDIR

Mark Andrews's avatar
regen  
Mark Andrews committed
393 394
/* Defined if extern char *optarg is not declared. */
#undef NEED_OPTARG
395

396 397 398 399
/* Define if connect does not honour the permission on the UNIX domain socket.
   */
#undef NEED_SECURE_DIRECTORY

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

Mark Andrews's avatar
Mark Andrews committed
403 404
/* Define to the full name of this package. */
#undef PACKAGE_NAME
Michael Graff's avatar
Michael Graff committed
405

Mark Andrews's avatar
Mark Andrews committed
406 407 408 409 410 411
/* 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

Automatic Updater's avatar
regen  
Automatic Updater committed
412 413 414
/* Define to the home page for this package. */
#undef PACKAGE_URL

Mark Andrews's avatar
Mark Andrews committed
415 416 417
/* Define to the version of this package. */
#undef PACKAGE_VERSION

418 419 420 421
/* Sets which flag to pass to open/fcntl to make non-blocking
   (O_NDELAY/O_NONBLOCK). */
#undef PORT_NONBLOCK

Automatic Updater's avatar
regen  
Automatic Updater committed
422 423 424
/* The size of `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P

Mark Andrews's avatar
Mark Andrews committed
425 426 427 428 429 430
/* 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

431 432 433 434
/* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
   non-blocking. */
#undef USE_FIONBIO_IOCTL

435 436 437
/* define if idnkit support is to be included. */
#undef WITH_IDN

Automatic Updater's avatar
regen  
Automatic Updater committed
438 439 440 441 442 443 444 445 446 447 448
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
   significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
#  define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
#  undef WORDS_BIGENDIAN
# endif
#endif
Mark Andrews's avatar
Mark Andrews committed
449 450 451 452

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

453
/* Define to empty if your compiler does not support "static inline". */
Mark Andrews's avatar
Mark Andrews committed
454 455
#undef inline

Evan Hunt's avatar
Evan Hunt committed
456
/* Define to `unsigned int' if <sys/types.h> does not define. */
Mark Andrews's avatar
Mark Andrews committed
457 458 459 460
#undef size_t

/* Define to `int' if <sys/types.h> does not define. */
#undef ssize_t
461 462 463

/* Define to `unsigned long' if <sys/types.h> does not define. */
#undef uintptr_t
464 465 466 467

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