acconfig.h revision 7005cfed8cd3296d356883dcb414979f22e06b13
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley/*
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * Copyright (C) 1999, 2000 Internet Software Consortium.
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley *
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * Permission to use, copy, modify, and distribute this software for any
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * purpose with or without fee is hereby granted, provided that the above
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * copyright notice and this permission notice appear in all copies.
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley *
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley * SOFTWARE.
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley */
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley/***
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley *** This file is not to be included by any public header files, because
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley *** it does not get installed.
507fa57547f4a5ed9148c6eb6a676de7f05f2cfaBob Halley ***/
@TOP@
/* 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
/* define if sigwait() is the UnixWare flavor */
#undef HAVE_UNIXWARE_SIGWAIT
/* define on Solaris to get sigwait() to work using pthreads semantics */
#undef _POSIX_PTHREAD_SEMANTICS
/* define if LinuxThreads is in use */
#undef HAVE_LINUXTHREADS
/* define if sysconf() is available */
#undef HAVE_SYSCONF
/* define if catgets() is available */
#undef HAVE_CATGETS
/* define if you have the NET_RT_IFLIST sysctl variable. */
#undef HAVE_IFLIST_SYSCTL
/* 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
/* define if chroot() is available */
#undef HAVE_CHROOT
/* define if struct addrinfo exists */
#undef HAVE_ADDRINFO
/* define is getaddrinfo() exists */
#undef HAVE_GETADDRINFO
/* 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
/* 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
/* 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__ */