config.h revision 148389
1135549Sdes/* $FreeBSD: head/lib/bind/config.h 148389 2005-07-25 14:44:11Z des $ */
2135549Sdes
3135549Sdes/* config.h.  Generated by configure.  */
4135549Sdes/* config.h.in.  Generated from configure.in by autoheader.  */
5135549Sdes/*
6135549Sdes * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
7135549Sdes * Copyright (C) 1999-2003  Internet Software Consortium.
8135549Sdes *
9135549Sdes * Permission to use, copy, modify, and distribute this software for any
10135549Sdes * purpose with or without fee is hereby granted, provided that the above
11135549Sdes * copyright notice and this permission notice appear in all copies.
12135549Sdes *
13135549Sdes * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
14135549Sdes * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15135549Sdes * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
16135549Sdes * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17135549Sdes * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
18135549Sdes * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19135549Sdes * PERFORMANCE OF THIS SOFTWARE.
20135549Sdes */
21135549Sdes
22143737Sdougb/* $Id: acconfig.h,v 1.35.2.4.2.10 2004/12/04 06:50:02 marka Exp $ */
23135549Sdes
24135549Sdes/***
25135549Sdes *** This file is not to be included by any public header files, because
26135549Sdes *** it does not get installed.
27135549Sdes ***/
28135549Sdes
29135549Sdes/* define to `int' if <sys/types.h> doesn't define.  */
30135549Sdes/* #undef ssize_t */
31135549Sdes
32135549Sdes/* define on DEC OSF to enable 4.4BSD style sa_len support */
33135549Sdes/* #undef _SOCKADDR_LEN */
34135549Sdes
35135549Sdes/* define if your system needs pthread_init() before using pthreads */
36135549Sdes/* #undef NEED_PTHREAD_INIT */
37135549Sdes
38135549Sdes/* define if your system has sigwait() */
39148389Sdes/* #undef HAVE_SIGWAIT */
40135549Sdes
41135549Sdes/* define if sigwait() is the UnixWare flavor */
42135549Sdes/* #undef HAVE_UNIXWARE_SIGWAIT */
43135549Sdes
44135549Sdes/* define on Solaris to get sigwait() to work using pthreads semantics */
45135549Sdes/* #undef _POSIX_PTHREAD_SEMANTICS */
46135549Sdes
47135549Sdes/* define if LinuxThreads is in use */
48135549Sdes/* #undef HAVE_LINUXTHREADS */
49135549Sdes
50135549Sdes/* define if sysconf() is available */
51148389Sdes/* #undef HAVE_SYSCONF */
52135549Sdes
53135549Sdes/* define if sysctlbyname() is available */
54135549Sdes#define HAVE_SYSCTLBYNAME 1
55135549Sdes
56135549Sdes/* define if catgets() is available */
57135549Sdes#define HAVE_CATGETS 1
58135549Sdes
59135549Sdes/* define if getifaddrs() exists */
60135549Sdes#define HAVE_GETIFADDRS 1
61135549Sdes
62135549Sdes/* define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
63135549Sdes#define HAVE_IFLIST_SYSCTL 1
64135549Sdes
65135549Sdes/* define if chroot() is available */
66135549Sdes#define HAVE_CHROOT 1
67135549Sdes
68135549Sdes/* define if tzset() is available */
69135549Sdes#define HAVE_TZSET 1
70135549Sdes
71135549Sdes/* define if struct addrinfo exists */
72135549Sdes#define HAVE_ADDRINFO 1
73135549Sdes
74135549Sdes/* define if getaddrinfo() exists */
75135549Sdes#define HAVE_GETADDRINFO 1
76135549Sdes
77135549Sdes/* define if gai_strerror() exists */
78135549Sdes#define HAVE_GAISTRERROR 1
79135549Sdes
80135549Sdes/* define if arc4random() exists */
81135549Sdes#define HAVE_ARC4RANDOM 1
82135549Sdes
83135549Sdes/* define if pthread_setconcurrency() should be called to tell the
84135549Sdes * OS how many threads we might want to run.
85135549Sdes */
86135549Sdes/* #undef CALL_PTHREAD_SETCONCURRENCY */
87135549Sdes
88135549Sdes/* define if IPv6 is not disabled */
89135549Sdes/* #undef WANT_IPV6 */
90135549Sdes
91135549Sdes/* define if flockfile() is available */
92135549Sdes#define HAVE_FLOCKFILE 1
93135549Sdes
94135549Sdes/* define if getc_unlocked() is available */
95135549Sdes#define HAVE_GETCUNLOCKED 1
96135549Sdes
97135549Sdes/* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
98135549Sdes/* #undef SHUTUP_SPUTAUX */
99135549Sdes#ifdef SHUTUP_SPUTAUX
100135549Sdesstruct __sFILE;
101135549Sdesextern __inline int __sputaux(int _c, struct __sFILE *_p);
102135549Sdes#endif
103135549Sdes
104135549Sdes/* Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
105135549Sdes/* #undef SHUTUP_SIGWAIT */
106135549Sdes#ifdef SHUTUP_SIGWAIT
107135549Sdesint sigwait(const unsigned int *set, int *sig);
108135549Sdes#endif
109135549Sdes
110135549Sdes/* Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
111135549Sdes/* #undef SHUTUP_STDARG_CAST */
112135549Sdes#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
113135549Sdes#include <stdarg.h>		/* Grr.  Must be included *every time*. */
114135549Sdes/*
115135549Sdes * The silly continuation line is to keep configure from
116135549Sdes * commenting out the #undef.
117135549Sdes */
118135549Sdes#undef \
119135549Sdes	va_start
120135549Sdes#define	va_start(ap, last) \
121135549Sdes	do { \
122135549Sdes		union { const void *konst; long *var; } _u; \
123135549Sdes		_u.konst = &(last); \
124135549Sdes		ap = (va_list)(_u.var + __va_words(__typeof(last))); \
125135549Sdes	} while (0)
126135549Sdes#endif /* SHUTUP_STDARG_CAST && __GNUC__ */
127135549Sdes
128135549Sdes/* define if the system has a random number generating device */
129135549Sdes#define PATH_RANDOMDEV "/dev/random"
130135549Sdes
131135549Sdes/* define if pthread_attr_getstacksize() is available */
132148389Sdes/* #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE */
133135549Sdes
134135549Sdes/* define if pthread_attr_setstacksize() is available */
135148389Sdes/* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */
136135549Sdes
137135549Sdes/* define if you have strerror in the C library. */
138135549Sdes#define HAVE_STRERROR 1
139135549Sdes
140143737Sdougb/* Define if you are running under Compaq TruCluster. */
141135549Sdes/* #undef HAVE_TRUCLUSTER */
142135549Sdes
143135549Sdes/* Define if OpenSSL includes DSA support */
144135549Sdes#define HAVE_OPENSSL_DSA 1
145135549Sdes
146143737Sdougb/* Define to the length type used by the socket API (socklen_t, size_t, int). */
147143737Sdougb#define ISC_SOCKADDR_LEN_T socklen_t
148143737Sdougb
149143737Sdougb/* Define if threads need PTHREAD_SCOPE_SYSTEM */
150143737Sdougb/* #undef NEED_PTHREAD_SCOPE_SYSTEM */
151143737Sdougb
152148389Sdes/* Define to 1 if you have the <dlfcn.h> header file. */
153148389Sdes/* #undef HAVE_DLFCN_H */
154148389Sdes
155135549Sdes/* Define to 1 if you have the <fcntl.h> header file. */
156135549Sdes#define HAVE_FCNTL_H 1
157135549Sdes
158135549Sdes/* Define to 1 if you have the <inttypes.h> header file. */
159135549Sdes#define HAVE_INTTYPES_H 1
160135549Sdes
161135549Sdes/* Define to 1 if you have the `c' library (-lc). */
162135549Sdes/* #undef HAVE_LIBC */
163135549Sdes
164135549Sdes/* Define to 1 if you have the `c_r' library (-lc_r). */
165135549Sdes/* #undef HAVE_LIBC_R */
166135549Sdes
167135549Sdes/* Define to 1 if you have the `nsl' library (-lnsl). */
168135549Sdes/* #undef HAVE_LIBNSL */
169135549Sdes
170135549Sdes/* Define to 1 if you have the `pthread' library (-lpthread). */
171148389Sdes/* #undef HAVE_LIBPTHREAD */
172135549Sdes
173135549Sdes/* Define to 1 if you have the `scf' library (-lscf). */
174135549Sdes/* #undef HAVE_LIBSCF */
175135549Sdes
176135549Sdes/* Define to 1 if you have the `socket' library (-lsocket). */
177135549Sdes/* #undef HAVE_LIBSOCKET */
178135549Sdes
179135549Sdes/* Define to 1 if you have the <linux/capability.h> header file. */
180135549Sdes/* #undef HAVE_LINUX_CAPABILITY_H */
181135549Sdes
182135549Sdes/* Define to 1 if you have the <memory.h> header file. */
183135549Sdes#define HAVE_MEMORY_H 1
184135549Sdes
185135549Sdes/* Define to 1 if you have the <net/if6.h> header file. */
186135549Sdes/* #undef HAVE_NET_IF6_H */
187135549Sdes
188135549Sdes/* Define to 1 if you have the <stdint.h> header file. */
189135549Sdes#define HAVE_STDINT_H 1
190135549Sdes
191135549Sdes/* Define to 1 if you have the <stdlib.h> header file. */
192135549Sdes#define HAVE_STDLIB_H 1
193135549Sdes
194135549Sdes/* Define to 1 if you have the <strings.h> header file. */
195135549Sdes#define HAVE_STRINGS_H 1
196135549Sdes
197135549Sdes/* Define to 1 if you have the <string.h> header file. */
198135549Sdes#define HAVE_STRING_H 1
199135549Sdes
200135549Sdes/* Define to 1 if you have the <sys/param.h> header file. */
201135549Sdes#define HAVE_SYS_PARAM_H 1
202135549Sdes
203135549Sdes/* Define to 1 if you have the <sys/prctl.h> header file. */
204135549Sdes/* #undef HAVE_SYS_PRCTL_H */
205135549Sdes
206135549Sdes/* Define to 1 if you have the <sys/select.h> header file. */
207135549Sdes#define HAVE_SYS_SELECT_H 1
208135549Sdes
209135549Sdes/* Define to 1 if you have the <sys/sockio.h> header file. */
210135549Sdes#define HAVE_SYS_SOCKIO_H 1
211135549Sdes
212135549Sdes/* Define to 1 if you have the <sys/stat.h> header file. */
213135549Sdes#define HAVE_SYS_STAT_H 1
214135549Sdes
215135549Sdes/* Define to 1 if you have the <sys/sysctl.h> header file. */
216135549Sdes#define HAVE_SYS_SYSCTL_H 1
217135549Sdes
218135549Sdes/* Define to 1 if you have the <sys/time.h> header file. */
219135549Sdes#define HAVE_SYS_TIME_H 1
220135549Sdes
221135549Sdes/* Define to 1 if you have the <sys/types.h> header file. */
222135549Sdes#define HAVE_SYS_TYPES_H 1
223135549Sdes
224135549Sdes/* Define if running under Compaq TruCluster */
225135549Sdes/* #undef HAVE_TRUCLUSTER */
226135549Sdes
227135549Sdes/* Define to 1 if you have the <unistd.h> header file. */
228135549Sdes#define HAVE_UNISTD_H 1
229135549Sdes
230135549Sdes/* Define to the address where bug reports for this package should be sent. */
231135549Sdes#define PACKAGE_BUGREPORT ""
232135549Sdes
233135549Sdes/* Define to the full name of this package. */
234135549Sdes#define PACKAGE_NAME ""
235135549Sdes
236135549Sdes/* Define to the full name and version of this package. */
237135549Sdes#define PACKAGE_STRING ""
238135549Sdes
239135549Sdes/* Define to the one symbol short name of this package. */
240135549Sdes#define PACKAGE_TARNAME ""
241135549Sdes
242135549Sdes/* Define to the version of this package. */
243135549Sdes#define PACKAGE_VERSION ""
244135549Sdes
245135549Sdes/* Define to 1 if you have the ANSI C header files. */
246135549Sdes#define STDC_HEADERS 1
247135549Sdes
248135549Sdes/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
249135549Sdes#define TIME_WITH_SYS_TIME 1
250135549Sdes
251135549Sdes/* Define to 1 if your processor stores words with the most significant byte
252135549Sdes   first (like Motorola and SPARC, unlike Intel and VAX). */
253135549Sdes/* #undef WORDS_BIGENDIAN */
254135549Sdes
255135549Sdes/* Define to empty if `const' does not conform to ANSI C. */
256135549Sdes/* #undef const */
257135549Sdes
258148389Sdes/* Define to `__inline__' or `__inline' if that's what the C compiler
259148389Sdes   calls it, or to nothing if 'inline' is not supported under any name.  */
260148389Sdes#ifndef __cplusplus
261135549Sdes/* #undef inline */
262148389Sdes#endif
263135549Sdes
264135549Sdes/* Define to `unsigned' if <sys/types.h> does not define. */
265135549Sdes/* #undef size_t */
266135549Sdes
267135549Sdes/* Define to `int' if <sys/types.h> does not define. */
268135549Sdes/* #undef ssize_t */
269