/* autoconf.h.in */ #ifndef __autoconf_h #define __autoconf_h /* compiler supports C++ operator new with nothrow argument */ #undef HAVE_NEW_NOTHROW /* C++ compiler supports the bool data type */ #undef HAVE_BOOL /* system has getrusage() */ #undef HAVE_GETRUSAGE /* C++ "new" header file */ #undef HAVE_NEW_H /* C++ set_new_handler() function */ #undef HAVE_SET_NEW_HANDLER /* sys/ioctl.h */ #undef HAVE_SYS_IOCTL_H /* asm/ioctls.h */ #undef HAVE_ASM_IOCTLS_H /* sys/time.h */ #undef HAVE_SYS_TIME_H /* sys/select.h */ #undef HAVE_SYS_SELECT_H /* sys/poll.h */ #undef HAVE_SYS_POLL_H /* poll.h */ #undef HAVE_POLL_H /* fcntl.h */ #undef HAVE_FCNTL_H /* stdarg.h */ #undef HAVE_STDARG_H /* pwd.h */ #undef HAVE_PWD_H /* sys/filio.h is available */ #undef HAVE_SYS_FILIO_H /* system has strcasecmp() */ #undef HAVE_STRCASECMP /* will not link c++ lib */ #undef NO_STDCXX /* have socklen_t ?? */ #undef HAVE_SOCKLEN_T /* system supports poll() */ #undef HAVE_POLL /* force select() usage */ #undef USE_SELECT /* have vsnprintf ?? */ #undef HAVE_VSNPRINTF /* have snprintf ?? */ #undef HAVE_SNPRINTF #ifndef HAVE_VSNPRINTF # define vsnprintf(buffer, size, format, list) vsprintf (buffer, format, list) #endif #ifndef HAVE_SNPRINTF # define snprintf(buffer, size, format, args...) sprintf(buffer, format, ## args) #endif #if defined(HAVE_NEW_H) && defined(HAVE_NEW_NOTHROW) # ifndef NO_STDCXX # include # define new new(std::nothrow) # endif #endif #ifndef HAVE_BOOL typedef int bool; #define true (1) #define false (!true) #endif #ifndef HAVE_STRCASECMP #error "i can't compile w/o strcasecmp() right now :(" #endif #ifndef HAVE_SOCKLEN_T typedef int socklen_t; #endif #ifndef HAVE_POLL #undef HAVE_SYS_POLL_H #undef HAVE_POLL_H #ifndef USE_SELECT #define USE_SELECT #endif #endif #endif /* __autoconf_h */