Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / bind / dist / acconfig.h
blob5c2c58837f3448376848355348ccaabd670804ce
1 /* $NetBSD: acconfig.h,v 1.2 2009/04/12 03:46:06 christos Exp $ */
3 /*
4 * Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
5 * Copyright (C) 1999-2003 Internet Software Consortium.
7 * Permission to use, copy, modify, and/or 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: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp */
22 /*! \file */
24 /***
25 *** This file is not to be included by any public header files, because
26 *** it does not get installed.
27 ***/
28 @TOP@
30 /** define on DEC OSF to enable 4.4BSD style sa_len support */
31 #undef _SOCKADDR_LEN
33 /** define if your system needs pthread_init() before using pthreads */
34 #undef NEED_PTHREAD_INIT
36 /** define if your system has sigwait() */
37 #undef HAVE_SIGWAIT
39 /** define if sigwait() is the UnixWare flavor */
40 #undef HAVE_UNIXWARE_SIGWAIT
42 /** define on Solaris to get sigwait() to work using pthreads semantics */
43 #undef _POSIX_PTHREAD_SEMANTICS
45 /** define if LinuxThreads is in use */
46 #undef HAVE_LINUXTHREADS
48 /** define if sysconf() is available */
49 #undef HAVE_SYSCONF
51 /** define if sysctlbyname() is available */
52 #undef HAVE_SYSCTLBYNAME
54 /** define if catgets() is available */
55 #undef HAVE_CATGETS
57 /** define if getifaddrs() exists */
58 #undef HAVE_GETIFADDRS
60 /** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
61 #undef HAVE_IFLIST_SYSCTL
63 /** define if tzset() is available */
64 #undef HAVE_TZSET
66 /** define if struct addrinfo exists */
67 #undef HAVE_ADDRINFO
69 /** define if getaddrinfo() exists */
70 #undef HAVE_GETADDRINFO
72 /** define if gai_strerror() exists */
73 #undef HAVE_GAISTRERROR
75 /** define if arc4random() exists */
76 #undef HAVE_ARC4RANDOM
78 /**
79 * define if pthread_setconcurrency() should be called to tell the
80 * OS how many threads we might want to run.
82 #undef CALL_PTHREAD_SETCONCURRENCY
84 /** define if IPv6 is not disabled */
85 #undef WANT_IPV6
87 /** define if flockfile() is available */
88 #undef HAVE_FLOCKFILE
90 /** define if getc_unlocked() is available */
91 #undef HAVE_GETCUNLOCKED
93 /** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
94 #undef SHUTUP_SPUTAUX
95 #ifdef SHUTUP_SPUTAUX
96 struct __sFILE;
97 extern __inline int __sputaux(int _c, struct __sFILE *_p);
98 #endif
100 /** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
101 #undef SHUTUP_SIGWAIT
102 #ifdef SHUTUP_SIGWAIT
103 int sigwait(const unsigned int *set, int *sig);
104 #endif
106 /** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
107 #undef SHUTUP_STDARG_CAST
108 #if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
109 #include <stdarg.h> /** Grr. Must be included *every time*. */
111 * The silly continuation line is to keep configure from
112 * commenting out the #undef.
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 (/*CONSTCOND*/0)
123 #endif /** SHUTUP_STDARG_CAST && __GNUC__ */
125 /** define if the system has a random number generating device */
126 #undef PATH_RANDOMDEV
128 /** define if pthread_attr_getstacksize() is available */
129 #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
131 /** define if pthread_attr_setstacksize() is available */
132 #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
134 /** define if you have strerror in the C library. */
135 #undef HAVE_STRERROR
137 /** Define if you are running under Compaq TruCluster. */
138 #undef HAVE_TRUCLUSTER
140 /* Define if OpenSSL includes DSA support */
141 #undef HAVE_OPENSSL_DSA
143 /* Define to the length type used by the socket API (socklen_t, size_t, int). */
144 #undef ISC_SOCKADDR_LEN_T
146 /* Define if threads need PTHREAD_SCOPE_SYSTEM */
147 #undef NEED_PTHREAD_SCOPE_SYSTEM