1999-03-06 04:12:06 +00:00
|
|
|
/*
|
2001-01-09 22:01:04 +00:00
|
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
2000-08-01 01:33:37 +00:00
|
|
|
*
|
1999-03-06 04:12:06 +00:00
|
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
|
|
* copyright notice and this permission notice appear in all copies.
|
2000-08-01 01:33:37 +00:00
|
|
|
*
|
2000-07-27 09:55:03 +00:00
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
|
|
|
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
|
|
|
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
|
|
|
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
|
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
|
|
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
1999-03-06 04:12:06 +00:00
|
|
|
*/
|
|
|
|
|
2001-10-22 22:52:16 +00:00
|
|
|
/* $Id: acconfig.h,v 1.36 2001/10/22 22:52:16 gson Exp $ */
|
2000-06-22 22:00:42 +00:00
|
|
|
|
2000-02-02 13:27:10 +00:00
|
|
|
/***
|
|
|
|
*** This file is not to be included by any public header files, because
|
|
|
|
*** it does not get installed.
|
|
|
|
***/
|
|
|
|
@TOP@
|
|
|
|
|
2001-10-22 22:52:16 +00:00
|
|
|
/* define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
#undef ssize_t
|
|
|
|
|
1999-05-12 09:45:42 +00:00
|
|
|
/* define on DEC OSF to enable 4.4BSD style sa_len support */
|
|
|
|
#undef _SOCKADDR_LEN
|
|
|
|
|
|
|
|
/* define if your system needs pthread_init() before using pthreads */
|
|
|
|
#undef NEED_PTHREAD_INIT
|
|
|
|
|
|
|
|
/* define if your system has sigwait() */
|
|
|
|
#undef HAVE_SIGWAIT
|
|
|
|
|
2000-05-18 22:35:47 +00:00
|
|
|
/* define if sigwait() is the UnixWare flavor */
|
|
|
|
#undef HAVE_UNIXWARE_SIGWAIT
|
|
|
|
|
1999-05-12 09:45:42 +00:00
|
|
|
/* define on Solaris to get sigwait() to work using pthreads semantics */
|
|
|
|
#undef _POSIX_PTHREAD_SEMANTICS
|
1999-05-12 22:35:40 +00:00
|
|
|
|
|
|
|
/* define if LinuxThreads is in use */
|
|
|
|
#undef HAVE_LINUXTHREADS
|
1999-06-23 02:51:39 +00:00
|
|
|
|
2000-06-22 01:01:55 +00:00
|
|
|
/* define if sysconf() is available */
|
|
|
|
#undef HAVE_SYSCONF
|
|
|
|
|
2001-10-22 22:52:16 +00:00
|
|
|
/* define if sysctlbyname() is available */
|
|
|
|
#undef HAVE_SYSCTLBYNAME
|
|
|
|
|
1999-06-23 02:51:39 +00:00
|
|
|
/* define if catgets() is available */
|
|
|
|
#undef HAVE_CATGETS
|
1999-08-28 04:21:26 +00:00
|
|
|
|
1999-08-28 05:34:41 +00:00
|
|
|
/* define if you have the NET_RT_IFLIST sysctl variable. */
|
1999-08-28 04:21:26 +00:00
|
|
|
#undef HAVE_IFLIST_SYSCTL
|
1999-08-28 05:34:41 +00:00
|
|
|
|
|
|
|
/* define if you need to #define _XPG4_2 before including sys/socket.h */
|
|
|
|
#undef NEED_XPG4_2_BEFORE_SOCKET_H
|
|
|
|
|
|
|
|
/* define if you need to #define _XOPEN_SOURCE_ENTENDED before including
|
|
|
|
* sys/socket.h
|
|
|
|
*/
|
|
|
|
#undef NEED_XSE_BEFORE_SOCKET_H
|
1999-10-07 19:32:08 +00:00
|
|
|
|
|
|
|
/* define if chroot() is available */
|
|
|
|
#undef HAVE_CHROOT
|
2000-05-16 13:08:31 +00:00
|
|
|
|
2000-06-15 21:52:21 +00:00
|
|
|
/* define if struct addrinfo exists */
|
|
|
|
#undef HAVE_ADDRINFO
|
|
|
|
|
2001-01-18 22:21:31 +00:00
|
|
|
/* define if getaddrinfo() exists */
|
2000-06-15 21:52:21 +00:00
|
|
|
#undef HAVE_GETADDRINFO
|
|
|
|
|
2001-01-18 22:21:31 +00:00
|
|
|
/* define if gai_strerror() exists */
|
|
|
|
#undef HAVE_GAISTRERROR
|
|
|
|
|
2000-06-22 01:48:24 +00:00
|
|
|
/* define if pthread_setconcurrency() should be called to tell the
|
|
|
|
* OS how many threads we might want to run.
|
|
|
|
*/
|
|
|
|
#undef CALL_PTHREAD_SETCONCURRENCY
|
|
|
|
|
2000-09-15 20:50:46 +00:00
|
|
|
/* define if IPv6 is not disabled */
|
|
|
|
#undef WANT_IPV6
|
|
|
|
|
2000-09-22 18:52:39 +00:00
|
|
|
/* define if flockfile() is available */
|
|
|
|
#undef HAVE_FLOCKFILE
|
|
|
|
|
2001-07-04 00:34:44 +00:00
|
|
|
/* define if getc_unlocked() is available */
|
|
|
|
#undef HAVE_GETCUNLOCKED
|
|
|
|
|
2000-05-16 13:08:31 +00:00
|
|
|
/* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
|
|
|
|
#undef SHUTUP_SPUTAUX
|
|
|
|
#ifdef SHUTUP_SPUTAUX
|
|
|
|
struct __sFILE;
|
|
|
|
extern __inline int __sputaux(int _c, struct __sFILE *_p);
|
|
|
|
#endif
|
2000-06-06 00:44:07 +00:00
|
|
|
|
2000-06-06 16:06:50 +00:00
|
|
|
/* Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
|
|
|
|
#undef SHUTUP_SIGWAIT
|
|
|
|
#ifdef SHUTUP_SIGWAIT
|
|
|
|
int sigwait(const unsigned int *set, int *sig);
|
|
|
|
#endif
|
|
|
|
|
2000-06-06 00:44:07 +00:00
|
|
|
/* Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
|
|
|
|
#undef SHUTUP_STDARG_CAST
|
|
|
|
#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
|
|
|
|
#include <stdarg.h> /* Grr. Must be included *every time*. */
|
|
|
|
/*
|
|
|
|
* The silly continuation line is to keep configure from
|
|
|
|
* commenting out the #undef.
|
|
|
|
*/
|
|
|
|
#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)
|
|
|
|
#endif /* SHUTUP_STDARG_CAST && __GNUC__ */
|
2000-08-17 18:56:49 +00:00
|
|
|
|
|
|
|
/* define if the system has a random number generating device */
|
2000-08-17 19:17:57 +00:00
|
|
|
#undef PATH_RANDOMDEV
|
2000-12-22 20:50:05 +00:00
|
|
|
|
|
|
|
/* define if pthread_attr_getstacksize() is available */
|
|
|
|
#undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
|
2001-10-22 22:52:16 +00:00
|
|
|
|
|
|
|
/* define if you have strerror in the C library. */
|
|
|
|
#undef HAVE_STRERROR
|