1999-03-05 23:12:06 -05:00
|
|
|
/*
|
2016-06-27 00:56:38 -04:00
|
|
|
* Copyright (C) 1999-2005, 2007, 2008, 2012, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
|
2000-07-31 21:33:37 -04:00
|
|
|
*
|
2016-06-27 00:56:38 -04:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
1999-03-05 23:12:06 -05:00
|
|
|
*/
|
|
|
|
|
|
2008-12-01 18:47:45 -05:00
|
|
|
/* $Id: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp $ */
|
2005-04-27 00:57:32 -04:00
|
|
|
|
|
|
|
|
/*! \file */
|
2000-06-22 18:00:42 -04:00
|
|
|
|
2000-02-02 08:27:10 -05:00
|
|
|
/***
|
|
|
|
|
*** This file is not to be included by any public header files, because
|
|
|
|
|
*** it does not get installed.
|
|
|
|
|
***/
|
|
|
|
|
@TOP@
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define on DEC OSF to enable 4.4BSD style sa_len support */
|
1999-05-12 05:45:42 -04:00
|
|
|
#undef _SOCKADDR_LEN
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if your system needs pthread_init() before using pthreads */
|
1999-05-12 05:45:42 -04:00
|
|
|
#undef NEED_PTHREAD_INIT
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if your system has sigwait() */
|
1999-05-12 05:45:42 -04:00
|
|
|
#undef HAVE_SIGWAIT
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if sigwait() is the UnixWare flavor */
|
2000-05-18 18:35:47 -04:00
|
|
|
#undef HAVE_UNIXWARE_SIGWAIT
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define on Solaris to get sigwait() to work using pthreads semantics */
|
1999-05-12 05:45:42 -04:00
|
|
|
#undef _POSIX_PTHREAD_SEMANTICS
|
1999-05-12 18:35:40 -04:00
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if LinuxThreads is in use */
|
1999-05-12 18:35:40 -04:00
|
|
|
#undef HAVE_LINUXTHREADS
|
1999-06-22 22:51:39 -04:00
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if sysconf() is available */
|
2000-06-21 21:01:55 -04:00
|
|
|
#undef HAVE_SYSCONF
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if sysctlbyname() is available */
|
2001-10-22 18:52:16 -04:00
|
|
|
#undef HAVE_SYSCTLBYNAME
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if catgets() is available */
|
1999-06-22 22:51:39 -04:00
|
|
|
#undef HAVE_CATGETS
|
1999-08-28 00:21:26 -04:00
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if getifaddrs() exists */
|
2003-04-01 00:18:22 -05:00
|
|
|
#undef HAVE_GETIFADDRS
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
|
1999-08-28 00:21:26 -04:00
|
|
|
#undef HAVE_IFLIST_SYSCTL
|
1999-08-28 01:34:41 -04:00
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if tzset() is available */
|
2004-01-07 00:48:15 -05:00
|
|
|
#undef HAVE_TZSET
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if struct addrinfo exists */
|
2000-06-15 17:52:21 -04:00
|
|
|
#undef HAVE_ADDRINFO
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if getaddrinfo() exists */
|
2000-06-15 17:52:21 -04:00
|
|
|
#undef HAVE_GETADDRINFO
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if gai_strerror() exists */
|
2001-01-18 17:21:31 -05:00
|
|
|
#undef HAVE_GAISTRERROR
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/**
|
|
|
|
|
* define if pthread_setconcurrency() should be called to tell the
|
2000-06-21 21:48:24 -04:00
|
|
|
* OS how many threads we might want to run.
|
|
|
|
|
*/
|
|
|
|
|
#undef CALL_PTHREAD_SETCONCURRENCY
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if IPv6 is not disabled */
|
2000-09-15 16:50:46 -04:00
|
|
|
#undef WANT_IPV6
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if flockfile() is available */
|
2000-09-22 14:52:39 -04:00
|
|
|
#undef HAVE_FLOCKFILE
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if getc_unlocked() is available */
|
2001-07-03 20:34:44 -04:00
|
|
|
#undef HAVE_GETCUNLOCKED
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
|
2000-05-16 09:08:31 -04:00
|
|
|
#undef SHUTUP_SPUTAUX
|
|
|
|
|
#ifdef SHUTUP_SPUTAUX
|
|
|
|
|
struct __sFILE;
|
|
|
|
|
extern __inline int __sputaux(int _c, struct __sFILE *_p);
|
|
|
|
|
#endif
|
2000-06-05 20:44:07 -04:00
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
|
2000-06-06 12:06:50 -04:00
|
|
|
#undef SHUTUP_SIGWAIT
|
|
|
|
|
#ifdef SHUTUP_SIGWAIT
|
|
|
|
|
int sigwait(const unsigned int *set, int *sig);
|
|
|
|
|
#endif
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
|
2000-06-05 20:44:07 -04:00
|
|
|
#undef SHUTUP_STDARG_CAST
|
|
|
|
|
#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
|
2005-04-27 00:57:32 -04:00
|
|
|
#include <stdarg.h> /** Grr. Must be included *every time*. */
|
|
|
|
|
/**
|
2000-06-05 20:44:07 -04:00
|
|
|
* The silly continuation line is to keep configure from
|
|
|
|
|
* commenting out the #undef.
|
|
|
|
|
*/
|
2008-12-01 18:47:45 -05:00
|
|
|
|
2000-06-05 20:44:07 -04:00
|
|
|
#undef \
|
|
|
|
|
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)
|
2005-04-27 00:57:32 -04:00
|
|
|
#endif /** SHUTUP_STDARG_CAST && __GNUC__ */
|
2000-08-17 14:56:49 -04:00
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if the system has a random number generating device */
|
2000-08-17 15:17:57 -04:00
|
|
|
#undef PATH_RANDOMDEV
|
2000-12-22 15:50:05 -05:00
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if pthread_attr_getstacksize() is available */
|
2000-12-22 15:50:05 -05:00
|
|
|
#undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
|
2001-10-22 18:52:16 -04:00
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if pthread_attr_setstacksize() is available */
|
2003-07-25 01:08:51 -04:00
|
|
|
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
|
|
|
|
|
|
2005-04-27 00:57:32 -04:00
|
|
|
/** define if you have strerror in the C library. */
|
2001-10-22 18:52:16 -04:00
|
|
|
#undef HAVE_STRERROR
|
2002-06-06 20:03:50 -04:00
|
|
|
|
2004-05-21 04:09:27 -04:00
|
|
|
/* Define if OpenSSL includes DSA support */
|
|
|
|
|
#undef HAVE_OPENSSL_DSA
|
2004-10-04 23:17:18 -04:00
|
|
|
|
2014-01-14 18:40:56 -05:00
|
|
|
/* Define if you have getpassphrase in the C library. */
|
|
|
|
|
#undef HAVE_GETPASSPHRASE
|
2012-05-02 09:20:17 -04:00
|
|
|
|
2004-10-04 23:17:18 -04:00
|
|
|
/* Define to the length type used by the socket API (socklen_t, size_t, int). */
|
|
|
|
|
#undef ISC_SOCKADDR_LEN_T
|
2004-12-04 01:48:43 -05:00
|
|
|
|
|
|
|
|
/* Define if threads need PTHREAD_SCOPE_SYSTEM */
|
|
|
|
|
#undef NEED_PTHREAD_SCOPE_SYSTEM
|
2016-01-30 14:03:10 -05:00
|
|
|
|
|
|
|
|
/* Define to 1 if you have the uname library function. */
|
|
|
|
|
#undef HAVE_UNAME
|