config.h revision 170224
1135549Sdes/* $FreeBSD: head/lib/bind/config.h 170224 2007-06-02 23:24:14Z dougb $ */
2135549Sdes
3135549Sdes/* config.h.  Generated by configure.  */
4135549Sdes/* config.h.in.  Generated from configure.in by autoheader.  */
5135549Sdes/*
6170224Sdougb * Copyright (C) 2004, 2005  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
22170224Sdougb/* $Id: acconfig.h,v 1.44.18.5 2005/04/29 00:15:20 marka Exp $ */
23135549Sdes
24170224Sdougb/*! \file */
25170224Sdougb
26135549Sdes/***
27135549Sdes *** This file is not to be included by any public header files, because
28135549Sdes *** it does not get installed.
29135549Sdes ***/
30135549Sdes
31170224Sdougb/** define to `int' if <sys/types.h> doesn't define.  */
32135549Sdes/* #undef ssize_t */
33135549Sdes
34170224Sdougb/** define on DEC OSF to enable 4.4BSD style sa_len support */
35135549Sdes/* #undef _SOCKADDR_LEN */
36135549Sdes
37170224Sdougb/** define if your system needs pthread_init() before using pthreads */
38135549Sdes/* #undef NEED_PTHREAD_INIT */
39135549Sdes
40170224Sdougb/** define if your system has sigwait() */
41170224Sdougb#define HAVE_SIGWAIT 1
42135549Sdes
43170224Sdougb/** define if sigwait() is the UnixWare flavor */
44135549Sdes/* #undef HAVE_UNIXWARE_SIGWAIT */
45135549Sdes
46170224Sdougb/** define on Solaris to get sigwait() to work using pthreads semantics */
47135549Sdes/* #undef _POSIX_PTHREAD_SEMANTICS */
48135549Sdes
49170224Sdougb/** define if LinuxThreads is in use */
50135549Sdes/* #undef HAVE_LINUXTHREADS */
51135549Sdes
52170224Sdougb/** define if sysconf() is available */
53170224Sdougb#define HAVE_SYSCONF 1
54135549Sdes
55170224Sdougb/** define if sysctlbyname() is available */
56135549Sdes#define HAVE_SYSCTLBYNAME 1
57135549Sdes
58170224Sdougb/** define if catgets() is available */
59135549Sdes#define HAVE_CATGETS 1
60135549Sdes
61170224Sdougb/** define if getifaddrs() exists */
62135549Sdes#define HAVE_GETIFADDRS 1
63135549Sdes
64170224Sdougb/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
65135549Sdes#define HAVE_IFLIST_SYSCTL 1
66135549Sdes
67170224Sdougb/** define if chroot() is available */
68135549Sdes#define HAVE_CHROOT 1
69135549Sdes
70170224Sdougb/** define if tzset() is available */
71135549Sdes#define HAVE_TZSET 1
72135549Sdes
73170224Sdougb/** define if struct addrinfo exists */
74135549Sdes#define HAVE_ADDRINFO 1
75135549Sdes
76170224Sdougb/** define if getaddrinfo() exists */
77135549Sdes#define HAVE_GETADDRINFO 1
78135549Sdes
79170224Sdougb/** define if gai_strerror() exists */
80135549Sdes#define HAVE_GAISTRERROR 1
81135549Sdes
82170224Sdougb/** define if arc4random() exists */
83135549Sdes#define HAVE_ARC4RANDOM 1
84135549Sdes
85170224Sdougb/**
86170224Sdougb * define if pthread_setconcurrency() should be called to tell the
87135549Sdes * OS how many threads we might want to run.
88135549Sdes */
89135549Sdes/* #undef CALL_PTHREAD_SETCONCURRENCY */
90135549Sdes
91170224Sdougb/** define if IPv6 is not disabled */
92135549Sdes/* #undef WANT_IPV6 */
93135549Sdes
94170224Sdougb/** define if flockfile() is available */
95135549Sdes#define HAVE_FLOCKFILE 1
96135549Sdes
97170224Sdougb/** define if getc_unlocked() is available */
98135549Sdes#define HAVE_GETCUNLOCKED 1
99135549Sdes
100170224Sdougb/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
101135549Sdes/* #undef SHUTUP_SPUTAUX */
102135549Sdes#ifdef SHUTUP_SPUTAUX
103135549Sdesstruct __sFILE;
104135549Sdesextern __inline int __sputaux(int _c, struct __sFILE *_p);
105135549Sdes#endif
106135549Sdes
107170224Sdougb/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
108135549Sdes/* #undef SHUTUP_SIGWAIT */
109135549Sdes#ifdef SHUTUP_SIGWAIT
110135549Sdesint sigwait(const unsigned int *set, int *sig);
111135549Sdes#endif
112135549Sdes
113170224Sdougb/** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
114135549Sdes/* #undef SHUTUP_STDARG_CAST */
115135549Sdes#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
116170224Sdougb#include <stdarg.h>		/** Grr.  Must be included *every time*. */
117170224Sdougb/**
118135549Sdes * The silly continuation line is to keep configure from
119135549Sdes * commenting out the #undef.
120135549Sdes */
121170224Sdougb
122135549Sdes#undef \
123135549Sdes	va_start
124135549Sdes#define	va_start(ap, last) \
125135549Sdes	do { \
126135549Sdes		union { const void *konst; long *var; } _u; \
127135549Sdes		_u.konst = &(last); \
128135549Sdes		ap = (va_list)(_u.var + __va_words(__typeof(last))); \
129135549Sdes	} while (0)
130170224Sdougb#endif /** SHUTUP_STDARG_CAST && __GNUC__ */
131135549Sdes
132170224Sdougb/** define if the system has a random number generating device */
133135549Sdes#define PATH_RANDOMDEV "/dev/random"
134135549Sdes
135170224Sdougb/** define if pthread_attr_getstacksize() is available */
136170224Sdougb#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
137135549Sdes
138170224Sdougb/** define if pthread_attr_setstacksize() is available */
139170224Sdougb#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
140135549Sdes
141170224Sdougb/** define if you have strerror in the C library. */
142135549Sdes#define HAVE_STRERROR 1
143135549Sdes
144170224Sdougb/** Define if you are running under Compaq TruCluster. */
145135549Sdes/* #undef HAVE_TRUCLUSTER */
146135549Sdes
147135549Sdes/* Define if OpenSSL includes DSA support */
148135549Sdes#define HAVE_OPENSSL_DSA 1
149135549Sdes
150143737Sdougb/* Define to the length type used by the socket API (socklen_t, size_t, int). */
151143737Sdougb#define ISC_SOCKADDR_LEN_T socklen_t
152143737Sdougb
153143737Sdougb/* Define if threads need PTHREAD_SCOPE_SYSTEM */
154143737Sdougb/* #undef NEED_PTHREAD_SCOPE_SYSTEM */
155143737Sdougb
156165077Sdougb/* Define if recvmsg() does not meet all of the BSD socket API specifications.
157165077Sdougb   */
158165077Sdougb/* #undef BROKEN_RECVMSG */
159165077Sdougb
160165077Sdougb/* Define if you cannot bind() before connect() for TCP sockets. */
161165077Sdougb/* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */
162165077Sdougb
163135549Sdes/* Define to 1 if you have the <fcntl.h> header file. */
164135549Sdes#define HAVE_FCNTL_H 1
165135549Sdes
166135549Sdes/* Define to 1 if you have the <inttypes.h> header file. */
167135549Sdes#define HAVE_INTTYPES_H 1
168135549Sdes
169135549Sdes/* Define to 1 if you have the `c' library (-lc). */
170135549Sdes/* #undef HAVE_LIBC */
171135549Sdes
172135549Sdes/* Define to 1 if you have the `c_r' library (-lc_r). */
173135549Sdes/* #undef HAVE_LIBC_R */
174135549Sdes
175135549Sdes/* Define to 1 if you have the `nsl' library (-lnsl). */
176135549Sdes/* #undef HAVE_LIBNSL */
177135549Sdes
178135549Sdes/* Define to 1 if you have the `pthread' library (-lpthread). */
179148389Sdes/* #undef HAVE_LIBPTHREAD */
180135549Sdes
181135549Sdes/* Define to 1 if you have the `scf' library (-lscf). */
182135549Sdes/* #undef HAVE_LIBSCF */
183135549Sdes
184135549Sdes/* Define to 1 if you have the `socket' library (-lsocket). */
185135549Sdes/* #undef HAVE_LIBSOCKET */
186135549Sdes
187165077Sdougb/* Define to 1 if you have the `thr' library (-lthr). */
188165077Sdougb/* #undef HAVE_LIBTHR */
189165077Sdougb
190135549Sdes/* Define to 1 if you have the <linux/capability.h> header file. */
191135549Sdes/* #undef HAVE_LINUX_CAPABILITY_H */
192135549Sdes
193170224Sdougb/* Define to 1 if you have the <locale.h> header file. */
194170224Sdougb#define HAVE_LOCALE_H 1
195170224Sdougb
196135549Sdes/* Define to 1 if you have the <memory.h> header file. */
197135549Sdes#define HAVE_MEMORY_H 1
198135549Sdes
199135549Sdes/* Define to 1 if you have the <net/if6.h> header file. */
200135549Sdes/* #undef HAVE_NET_IF6_H */
201135549Sdes
202170224Sdougb/* Define to 1 if you have the `setlocale' function. */
203170224Sdougb#define HAVE_SETLOCALE 1
204165077Sdougb
205135549Sdes/* Define to 1 if you have the <stdint.h> header file. */
206135549Sdes#define HAVE_STDINT_H 1
207135549Sdes
208135549Sdes/* Define to 1 if you have the <stdlib.h> header file. */
209135549Sdes#define HAVE_STDLIB_H 1
210135549Sdes
211135549Sdes/* Define to 1 if you have the <strings.h> header file. */
212135549Sdes#define HAVE_STRINGS_H 1
213135549Sdes
214135549Sdes/* Define to 1 if you have the <string.h> header file. */
215135549Sdes#define HAVE_STRING_H 1
216135549Sdes
217135549Sdes/* Define to 1 if you have the <sys/param.h> header file. */
218135549Sdes#define HAVE_SYS_PARAM_H 1
219135549Sdes
220135549Sdes/* Define to 1 if you have the <sys/prctl.h> header file. */
221135549Sdes/* #undef HAVE_SYS_PRCTL_H */
222135549Sdes
223135549Sdes/* Define to 1 if you have the <sys/select.h> header file. */
224135549Sdes#define HAVE_SYS_SELECT_H 1
225135549Sdes
226135549Sdes/* Define to 1 if you have the <sys/sockio.h> header file. */
227135549Sdes#define HAVE_SYS_SOCKIO_H 1
228135549Sdes
229135549Sdes/* Define to 1 if you have the <sys/stat.h> header file. */
230135549Sdes#define HAVE_SYS_STAT_H 1
231135549Sdes
232135549Sdes/* Define to 1 if you have the <sys/sysctl.h> header file. */
233135549Sdes#define HAVE_SYS_SYSCTL_H 1
234135549Sdes
235135549Sdes/* Define to 1 if you have the <sys/time.h> header file. */
236135549Sdes#define HAVE_SYS_TIME_H 1
237135549Sdes
238135549Sdes/* Define to 1 if you have the <sys/types.h> header file. */
239135549Sdes#define HAVE_SYS_TYPES_H 1
240135549Sdes
241170224Sdougb/* Define to 1 if you have the <sys/un.h> header file. */
242170224Sdougb#define HAVE_SYS_UN_H 1
243170224Sdougb
244135549Sdes/* Define if running under Compaq TruCluster */
245135549Sdes/* #undef HAVE_TRUCLUSTER */
246135549Sdes
247135549Sdes/* Define to 1 if you have the <unistd.h> header file. */
248135549Sdes#define HAVE_UNISTD_H 1
249135549Sdes
250153821Sdougb/* Defined if extern char *optarg is not declared. */
251153821Sdougb/* #undef NEED_OPTARG */
252153821Sdougb
253170224Sdougb/* Define if connect does not honour the permission on the UNIX domain socket.
254170224Sdougb   */
255170224Sdougb/* #undef NEED_SECURE_DIRECTORY */
256170224Sdougb
257135549Sdes/* Define to the address where bug reports for this package should be sent. */
258135549Sdes#define PACKAGE_BUGREPORT ""
259135549Sdes
260135549Sdes/* Define to the full name of this package. */
261135549Sdes#define PACKAGE_NAME ""
262135549Sdes
263135549Sdes/* Define to the full name and version of this package. */
264135549Sdes#define PACKAGE_STRING ""
265135549Sdes
266135549Sdes/* Define to the one symbol short name of this package. */
267135549Sdes#define PACKAGE_TARNAME ""
268135549Sdes
269135549Sdes/* Define to the version of this package. */
270135549Sdes#define PACKAGE_VERSION ""
271135549Sdes
272153821Sdougb/* Sets which flag to pass to open/fcntl to make non-blocking
273153821Sdougb   (O_NDELAY/O_NONBLOCK). */
274153821Sdougb#define PORT_NONBLOCK O_NONBLOCK
275153821Sdougb
276135549Sdes/* Define to 1 if you have the ANSI C header files. */
277135549Sdes#define STDC_HEADERS 1
278135549Sdes
279135549Sdes/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
280135549Sdes#define TIME_WITH_SYS_TIME 1
281135549Sdes
282153821Sdougb/* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
283153821Sdougb   non-blocking. */
284153821Sdougb/* #undef USE_FIONBIO_IOCTL */
285153821Sdougb
286170224Sdougb/* define if idnkit support is to be included. */
287170224Sdougb/* #undef WITH_IDN */
288170224Sdougb
289135549Sdes/* Define to 1 if your processor stores words with the most significant byte
290135549Sdes   first (like Motorola and SPARC, unlike Intel and VAX). */
291135549Sdes/* #undef WORDS_BIGENDIAN */
292135549Sdes
293135549Sdes/* Define to empty if `const' does not conform to ANSI C. */
294135549Sdes/* #undef const */
295135549Sdes
296165077Sdougb/* Define to `__inline__' or `__inline' if that's what the C compiler
297165077Sdougb   calls it, or to nothing if 'inline' is not supported under any name.  */
298165077Sdougb#ifndef __cplusplus
299166335Sdougb#define inline
300165077Sdougb#endif
301135549Sdes
302135549Sdes/* Define to `unsigned' if <sys/types.h> does not define. */
303135549Sdes/* #undef size_t */
304135549Sdes
305135549Sdes/* Define to `int' if <sys/types.h> does not define. */
306135549Sdes/* #undef ssize_t */
307153821Sdougb
308153821Sdougb/* Define to `unsigned long' if <sys/types.h> does not define. */
309153821Sdougb/* #undef uintptr_t */
310