acconfig.h 3.57 KB
Newer Older
1
/*
2
 * Copyright (C) 1999-2005, 2007, 2008, 2012, 2014, 2016  Internet Systems Consortium, Inc. ("ISC")
3
 *
4 5 6
 * 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/.
7 8
 */

9
/* $Id: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp $ */
10 11

/*! \file */
12

13 14 15 16 17 18
/***
 *** This file is not to be included by any public header files, because
 *** it does not get installed.
 ***/
@TOP@

19
/** define on DEC OSF to enable 4.4BSD style sa_len support */
20 21
#undef _SOCKADDR_LEN

22
/** define if your system needs pthread_init() before using pthreads */
23 24
#undef NEED_PTHREAD_INIT

25
/** define if your system has sigwait() */
26 27
#undef HAVE_SIGWAIT

28
/** define if sigwait() is the UnixWare flavor */
29 30
#undef HAVE_UNIXWARE_SIGWAIT

31
/** define on Solaris to get sigwait() to work using pthreads semantics */
32 33
#undef _POSIX_PTHREAD_SEMANTICS

34
/** define if LinuxThreads is in use */
35 36
#undef HAVE_LINUXTHREADS

37
/** define if sysconf() is available */
38 39
#undef HAVE_SYSCONF

40
/** define if sysctlbyname() is available */
41 42
#undef HAVE_SYSCTLBYNAME

43
/** define if catgets() is available */
44 45
#undef HAVE_CATGETS

46
/** define if getifaddrs() exists */
47 48
#undef HAVE_GETIFADDRS

49
/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
50 51
#undef HAVE_IFLIST_SYSCTL

52
/** define if tzset() is available */
53 54
#undef HAVE_TZSET

55
/** define if struct addrinfo exists */
56 57
#undef HAVE_ADDRINFO

58
/** define if getaddrinfo() exists */
59 60
#undef HAVE_GETADDRINFO

61
/** define if gai_strerror() exists */
62 63
#undef HAVE_GAISTRERROR

64 65
/**
 * define if pthread_setconcurrency() should be called to tell the
66 67 68 69
 * OS how many threads we might want to run.
 */
#undef CALL_PTHREAD_SETCONCURRENCY

70
/** define if IPv6 is not disabled */
71 72
#undef WANT_IPV6

73
/** define if flockfile() is available */
74 75
#undef HAVE_FLOCKFILE

76
/** define if getc_unlocked() is available */
77 78
#undef HAVE_GETCUNLOCKED

79
/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
80 81 82 83 84
#undef SHUTUP_SPUTAUX
#ifdef SHUTUP_SPUTAUX
struct __sFILE;
extern __inline int __sputaux(int _c, struct __sFILE *_p);
#endif
85

86
/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
87 88 89 90 91
#undef SHUTUP_SIGWAIT
#ifdef SHUTUP_SIGWAIT
int sigwait(const unsigned int *set, int *sig);
#endif

92
/** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
93 94
#undef SHUTUP_STDARG_CAST
#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
95 96
#include <stdarg.h>		/** Grr.  Must be included *every time*. */
/**
97 98 99
 * The silly continuation line is to keep configure from
 * commenting out the #undef.
 */
Lamont Jones's avatar
Lamont Jones committed
100

101 102 103 104 105 106 107 108
#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)
109
#endif /** SHUTUP_STDARG_CAST && __GNUC__ */
110

111
/** define if the system has a random number generating device */
112
#undef PATH_RANDOMDEV
113

114
/** define if pthread_attr_getstacksize() is available */
115
#undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
116

117
/** define if pthread_attr_setstacksize() is available */
118 119
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE

120
/** define if you have strerror in the C library. */
121
#undef HAVE_STRERROR
122

123 124
/* Define if OpenSSL includes DSA support */
#undef HAVE_OPENSSL_DSA
125

ISC's avatar
ISC committed
126 127
/* Define if you have getpassphrase in the C library. */
#undef HAVE_GETPASSPHRASE
128

129 130 131 132 133
/* Define to the length type used by the socket API (socklen_t, size_t, int). */
#undef ISC_SOCKADDR_LEN_T

/* Define if threads need PTHREAD_SCOPE_SYSTEM */
#undef NEED_PTHREAD_SCOPE_SYSTEM
134 135 136

/* Define to 1 if you have the uname library function. */
#undef HAVE_UNAME