2 * Copyright (C) 2004, 2005, 2007, 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 1999-2003 Internet Software Consortium.
5 * Permission to use, copy, modify, and/or 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.
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.
18 /* $Id: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp $ */
23 *** This file is not to be included by any public header files, because
24 *** it does not get installed.
28 /** define on DEC OSF to enable 4.4BSD style sa_len support */
31 /** define if your system needs pthread_init() before using pthreads */
32 #undef NEED_PTHREAD_INIT
34 /** define if your system has sigwait() */
37 /** define if sigwait() is the UnixWare flavor */
38 #undef HAVE_UNIXWARE_SIGWAIT
40 /** define on Solaris to get sigwait() to work using pthreads semantics */
41 #undef _POSIX_PTHREAD_SEMANTICS
43 /** define if LinuxThreads is in use */
44 #undef HAVE_LINUXTHREADS
46 /** define if sysconf() is available */
49 /** define if sysctlbyname() is available */
50 #undef HAVE_SYSCTLBYNAME
52 /** define if catgets() is available */
55 /** define if getifaddrs() exists */
56 #undef HAVE_GETIFADDRS
58 /** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
59 #undef HAVE_IFLIST_SYSCTL
61 /** define if tzset() is available */
64 /** define if struct addrinfo exists */
67 /** define if getaddrinfo() exists */
68 #undef HAVE_GETADDRINFO
70 /** define if gai_strerror() exists */
71 #undef HAVE_GAISTRERROR
73 /** define if arc4random() exists */
74 #undef HAVE_ARC4RANDOM
77 * define if pthread_setconcurrency() should be called to tell the
78 * OS how many threads we might want to run.
80 #undef CALL_PTHREAD_SETCONCURRENCY
82 /** define if IPv6 is not disabled */
85 /** define if flockfile() is available */
88 /** define if getc_unlocked() is available */
89 #undef HAVE_GETCUNLOCKED
91 /** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
95 extern __inline int __sputaux(int _c, struct __sFILE *_p);
98 /** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
100 #ifdef SHUTUP_SIGWAIT
101 int sigwait(const unsigned int *set, int *sig);
104 /** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
105 #undef SHUTUP_STDARG_CAST
106 #if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
107 #include <stdarg.h> /** Grr. Must be included *every time*. */
109 * The silly continuation line is to keep configure from
110 * commenting out the #undef.
115 #define va_start(ap, last) \
117 union { const void *konst; long *var; } _u; \
118 _u.konst = &(last); \
119 ap = (va_list)(_u.var + __va_words(__typeof(last))); \
121 #endif /** SHUTUP_STDARG_CAST && __GNUC__ */
123 /** define if the system has a random number generating device */
124 #undef PATH_RANDOMDEV
126 /** define if pthread_attr_getstacksize() is available */
127 #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
129 /** define if pthread_attr_setstacksize() is available */
130 #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
132 /** define if you have strerror in the C library. */
135 /** Define if you are running under Compaq TruCluster. */
136 #undef HAVE_TRUCLUSTER
138 /* Define if OpenSSL includes DSA support */
139 #undef HAVE_OPENSSL_DSA
141 /* Define if OpenSSL includes ECDSA support */
142 #undef HAVE_OPENSSL_ECDSA
144 /* Define to the length type used by the socket API (socklen_t, size_t, int). */
145 #undef ISC_SOCKADDR_LEN_T
147 /* Define if threads need PTHREAD_SCOPE_SYSTEM */
148 #undef NEED_PTHREAD_SCOPE_SYSTEM