Additions to 'hammer pfs-*':
[dragonfly.git] / contrib / bind-9.3 / acconfig.h
CommitLineData
f432fee4
VBD
1/*
2 * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 1999-2003 Internet Software Consortium.
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/* $Id: acconfig.h,v 1.35.2.4.2.10 2004/12/04 06:50:02 marka Exp $ */
19
20/***
21 *** This file is not to be included by any public header files, because
22 *** it does not get installed.
23 ***/
24@TOP@
25
26/* define to `int' if <sys/types.h> doesn't define. */
27#undef ssize_t
28
29/* define on DEC OSF to enable 4.4BSD style sa_len support */
30#undef _SOCKADDR_LEN
31
32/* define if your system needs pthread_init() before using pthreads */
33#undef NEED_PTHREAD_INIT
34
35/* define if your system has sigwait() */
36#undef HAVE_SIGWAIT
37
38/* define if sigwait() is the UnixWare flavor */
39#undef HAVE_UNIXWARE_SIGWAIT
40
41/* define on Solaris to get sigwait() to work using pthreads semantics */
42#undef _POSIX_PTHREAD_SEMANTICS
43
44/* define if LinuxThreads is in use */
45#undef HAVE_LINUXTHREADS
46
47/* define if sysconf() is available */
48#undef HAVE_SYSCONF
49
50/* define if sysctlbyname() is available */
51#undef HAVE_SYSCTLBYNAME
52
53/* define if catgets() is available */
54#undef HAVE_CATGETS
55
56/* define if getifaddrs() exists */
57#undef HAVE_GETIFADDRS
58
59/* define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
60#undef HAVE_IFLIST_SYSCTL
61
62/* define if chroot() is available */
63#undef HAVE_CHROOT
64
65/* define if tzset() is available */
66#undef HAVE_TZSET
67
68/* define if struct addrinfo exists */
69#undef HAVE_ADDRINFO
70
71/* define if getaddrinfo() exists */
72#undef HAVE_GETADDRINFO
73
74/* define if gai_strerror() exists */
75#undef HAVE_GAISTRERROR
76
77/* define if arc4random() exists */
78#undef HAVE_ARC4RANDOM
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#undef HAVE_FLOCKFILE
90
91/* define if getc_unlocked() is available */
92#undef HAVE_GETCUNLOCKED
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#undef \
116 va_start
117#define va_start(ap, last) \
118 do { \
119 union { const void *konst; long *var; } _u; \
120 _u.konst = &(last); \
121 ap = (va_list)(_u.var + __va_words(__typeof(last))); \
122 } while (0)
123#endif /* SHUTUP_STDARG_CAST && __GNUC__ */
124
125/* define if the system has a random number generating device */
126#undef PATH_RANDOMDEV
127
128/* define if pthread_attr_getstacksize() is available */
129#undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
130
131/* define if pthread_attr_setstacksize() is available */
132#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
133
134/* define if you have strerror in the C library. */
135#undef HAVE_STRERROR
136
137/* Define if you are running under Compaq TruCluster. */
138#undef HAVE_TRUCLUSTER
139
140/* Define if OpenSSL includes DSA support */
141#undef HAVE_OPENSSL_DSA
142
143/* Define to the length type used by the socket API (socklen_t, size_t, int). */
144#undef ISC_SOCKADDR_LEN_T
145
146/* Define if threads need PTHREAD_SCOPE_SYSTEM */
147#undef NEED_PTHREAD_SCOPE_SYSTEM