Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / acconfig.h
blob29207e56fe49acb3d0f83879a0794c4396ca15e2
1 /* $NetBSD: acconfig.h,v 1.8 2014/12/10 04:37:51 christos Exp $ */
3 /*
4 * Copyright (C) 2004, 2005, 2007, 2008, 2012, 2014 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 /** define if arc4random_addrandom() exists */
79 #undef HAVE_ARC4RANDOM_ADDRANDOM
81 /**
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 #undef WANT_IPV6
90 /** define if flockfile() is available */
91 #undef HAVE_FLOCKFILE
93 /** define if getc_unlocked() is available */
94 #undef HAVE_GETCUNLOCKED
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.
118 #undef \
119 va_start
120 #define va_start(ap, last) \
121 do { \
122 union { const void *konst; long *var; } _u; \
123 _u.konst = &(last); \
124 ap = (va_list)(_u.var + __va_words(__typeof(last))); \
125 } while (/*CONSTCOND*/0)
126 #endif /** SHUTUP_STDARG_CAST && __GNUC__ */
128 /** define if the system has a random number generating device */
129 #undef PATH_RANDOMDEV
131 /** define if pthread_attr_getstacksize() is available */
132 #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
134 /** define if pthread_attr_setstacksize() is available */
135 #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
137 /** define if you have strerror in the C library. */
138 #undef HAVE_STRERROR
140 /* Define if OpenSSL includes DSA support */
141 #undef HAVE_OPENSSL_DSA
143 /* Define if you have getpassphrase in the C library. */
144 #undef HAVE_GETPASSPHRASE
146 /* Define to the length type used by the socket API (socklen_t, size_t, int). */
147 #undef ISC_SOCKADDR_LEN_T
149 /* Define if threads need PTHREAD_SCOPE_SYSTEM */
150 #undef NEED_PTHREAD_SCOPE_SYSTEM