/* config.h.in. Generated from configure.in by autoheader. */ /* Web Polygraph http://www.web-polygraph.org/ * (C) 2003-2006 The Measurement Factory * Licensed under the Apache License, Version 2.0 */ #ifndef POLYGRAPH__ACCONFIG_H #define POLYGRAPH__ACCONFIG_H /* host type from configure */ #define CONFIG_HOST_TYPE "-unknown-" /* external programs */ #undef GNUPLOT_EXE /* negative or zero if no probing has been done or probing failed */ #define PROBED_MAXFD -1 /* negative or zero if we failed to detect it */ #define DEFAULT_FD_SETSIZE -1 /* sighandler prototype (e.g. "void SignalHandler(...)" on IRIX */ #undef SIGNAL_HANDLER_TYPE /* various types */ #undef HAVE_TYPE_RUSAGE #undef HAVE_TYPE_RLIM_T #undef HAVE_TYPE_IFREQ #undef HAVE_TYPE_IFALIASREQ #undef HAVE_TYPE_IOS_BASE_FMTFLAGS #undef HAVE_TYPE_IOS_FMTFLAGS #undef HAVE_TYPE_TIMEVAL #undef HAVE_TYPE_IN6_ALIASREQ #undef HAVE_TYPE_IN6_IFREQ /* Some systems use socklen_t typedef for some socket operations. * Socklen_t may conflict with "int" that is also used. */ #undef HAVE_TYPE_SOCKLEN_T /* sockaddr structure has sa_len member */ #undef HAVE_SA_LEN /* tm structure has tm_gmtoff member */ #undef HAVE_TM_GMTOFF /* altzone global is supported (Solaris only?) */ #undef HAVE_ALTZONE /* how time zone global variable looks like (timezone, _timezone, etc.) */ #undef HAVE_TIMEZONE /* must explicitly declare timezone global as extern */ #undef HAVE_EXTERN_TIMEZONE /* here are some typedefs that configure script might be missing */ #undef rlim_t /* C++ stuff */ #undef HAVE_TYPE_STREAMPOS #undef HAVE_SET_NEW_HANDLER #undef HAVE__SET_NEW_HANDLER /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H /* Define to 1 if you have the `ceilf' function. */ #undef HAVE_CEILF /* Define to 1 if you have the `closesocket' function. */ #undef HAVE_CLOSESOCKET /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define if you have the dlopen/sum/error/close. */ #undef HAVE_DLOPEN /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H /* Define to 1 if you have the `fork' function. */ #undef HAVE_FORK /* Define to 1 if you have the `getifaddrs' function. */ #undef HAVE_GETIFADDRS /* Define to 1 if you have the `GetLastError' function. */ #undef HAVE_GETLASTERROR /* Define to 1 if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE /* Define to 1 if you have the `getrlimit' function. */ #undef HAVE_GETRLIMIT /* Define to 1 if you have the `getrusage' function. */ #undef HAVE_GETRUSAGE /* Define to 1 if you have the `gettimeofday' function. */ #undef HAVE_GETTIMEOFDAY /* Define to 1 if you have the header file. */ #undef HAVE_IFADDRS_H /* Define to 1 if you have the `inet_lnaof' function. */ #undef HAVE_INET_LNAOF /* Define to 1 if you have the `inet_makeaddr' function. */ #undef HAVE_INET_MAKEADDR /* Define to 1 if you have the `inet_netof' function. */ #undef HAVE_INET_NETOF /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `ioctl' function. */ #undef HAVE_IOCTL /* Define to 1 if you have the `ioctlsocket' function. */ #undef HAVE_IOCTLSOCKET /* Define to 1 if you have the header file. */ #undef HAVE_IOMANIP /* Define to 1 if you have the header file. */ #undef HAVE_IOMANIP_H /* Define to 1 if you have the header file. */ #undef HAVE_IOSFWD /* Define to 1 if you have the header file. */ #undef HAVE_IOSFWD_H /* Define to 1 if you have the header file. */ #undef HAVE_IOSTREAM /* Define to 1 if you have the header file. */ #undef HAVE_IOSTREAM_H /* Define to 1 if you have the `crypto' library (-lcrypto). */ #undef HAVE_LIBCRYPTO /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM /* Define if you have the ncurses library (-lncurses). */ #undef HAVE_LIBNCURSES /* Define to 1 if you have the `nsl' library (-lnsl). */ #undef HAVE_LIBNSL /* Define to 1 if you have the `socket' library (-lsocket). */ #undef HAVE_LIBSOCKET /* Define to 1 if you have the `ssl' library (-lssl). */ #undef HAVE_LIBSSL /* Define to 1 if you have the `z' library (-lz). */ #undef HAVE_LIBZ /* Define to 1 if you have the header file. */ #undef HAVE_MATH_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_NCURSES_H /* Define to 1 if you have the header file. */ #undef HAVE_NETDB_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_VAR_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IP_DUMMYNET_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IP_FW_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_TCP_H /* Define to 1 if you have the header file. */ #undef HAVE_NET_IF_H /* Define to 1 if you have the header file. */ #undef HAVE_NET_IF_VAR_H /* Define to 1 if you have the header file. */ #undef HAVE_OPENSSL_ERR_H /* Define to 1 if you have the header file. */ #undef HAVE_OPENSSL_RAND_H /* Define to 1 if you have the header file. */ #undef HAVE_OPENSSL_SSL_H /* Define to 1 if you have the `pclose' function. */ #undef HAVE_PCLOSE /* Define to 1 if you have the `poll' function. */ #undef HAVE_POLL /* Define to 1 if you have the `popen' function. */ #undef HAVE_POPEN /* Define to 1 if you have the header file. */ #undef HAVE_PROCESS_H /* Define to 1 if you have the `RAND_egd' function. */ #undef HAVE_RAND_EGD /* Define to 1 if you have the `RAND_screen' function. */ #undef HAVE_RAND_SCREEN /* Define to 1 if you have the `RAND_status' function. */ #undef HAVE_RAND_STATUS /* Define to 1 if you have the header file. */ #undef HAVE_REGEX_H /* Define to 1 if you have the `rint' function. */ #undef HAVE_RINT /* Define to 1 if you have the `SetLastError' function. */ #undef HAVE_SETLASTERROR /* Define to 1 if you have the `signal' function. */ #undef HAVE_SIGNAL /* Define to 1 if you have the header file. */ #undef HAVE_SIGNAL_H /* Define to 1 if you have the `sleep' function. */ #undef HAVE_SLEEP /* Define to 1 if you have the header file. */ #undef HAVE_SSTREAM /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strcasecmp' function. */ #undef HAVE_STRCASECMP /* Define to 1 if you have the `stricmp' function. */ #undef HAVE_STRICMP /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strncasecmp' function. */ #undef HAVE_STRNCASECMP /* Define to 1 if you have the `strnicmp' function. */ #undef HAVE_STRNICMP /* Define to 1 if you have the header file. */ #undef HAVE_STRSTREAM /* Define to 1 if you have the header file. */ #undef HAVE_STRSTREAM_H /* Define to 1 if you have the header file. */ #undef HAVE_STRSTREA_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_IOCTL_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PARAM_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_RESOURCE_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SELECT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKIO_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SYSINFO_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the `timegm' function. */ #undef HAVE_TIMEGM /* Define to 1 if you have the header file. */ #undef HAVE_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `unlink' function. */ #undef HAVE_UNLINK /* Define to 1 if you have the header file. */ #undef HAVE_WINBASE_H /* Define to 1 if you have the header file. */ #undef HAVE_WINSOCK2_H /* Define to 1 if you have the `WSACleanup' function. */ #undef HAVE_WSACLEANUP /* Define to 1 if you have the `WSAIoctl' function. */ #undef HAVE_WSAIOCTL /* Define to 1 if you have the `WSAStartup' function. */ #undef HAVE_WSASTARTUP /* Define to 1 if you have the `_ftime' function. */ #undef HAVE__FTIME /* Define to 1 if you have the `_pclose' function. */ #undef HAVE__PCLOSE /* Define to 1 if you have the `_popen' function. */ #undef HAVE__POPEN /* Define if OpenSSL support is enabled */ #undef OPENSSL_ENABLED /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION using namespace std; /* various post-processing fixes and adjustments */ // increase FD_SETSIZE if needed and OS supports FD_SETSIZE redifinition #if !defined(__linux__) && !defined(linux) # if PROBED_MAXFD > 0 && DEFAULT_FD_SETSIZE > 0 && PROBED_MAXFD > DEFAULT_FD_SETSIZE # ifdef FD_SETSIZE # warning FD_SETSIZE is already defined # else # define FD_SETSIZE PROBED_MAXFD # endif # endif #endif // what file scanner (select(2), poll(2), etc.) use by default // note: our current heuristic will fail in many environments #ifdef HAVE_POLL # define PG_PREFFERED_FILE_SCANNER Poll #else # define PG_PREFFERED_FILE_SCANNER Select #endif // define CONFIG_HOST_OS_* macros (shortened to CFG_HOS_*) // this code is similar to Squid's include/config.h.in #if defined(__sun__) || defined(__sun) # define CFG_HOS_SUN # if defined(__SVR4) # define CFG_HOS_SOLARIS # else # define CFG_HOS_SUNOS # endif #elif defined(__sgi__) || defined(sgi) || defined(__sgi) # define CFG_HOS_SGI # if !defined(_SVR4_SOURCE) # define _SVR4_SOURCE # endif #elif defined(__hpux) # define CFG_HOS_HPUX # define CFG_HOS_SYSV #elif defined(__osf__) # define CFG_HOS_OSF #elif defined(__ultrix) # define CFG_HOS_ULTRIX #elif defined(_AIX) # define CFG_HOS_AIX #elif defined(__linux__) # define CFG_HOS_LINUX #elif defined(__FreeBSD__) # define CFG_HOS_FREEBSD #elif defined(__NeXT__) # define CFG_HOS_NEXT #elif defined(__bsdi__) # define CFG_HOS_BSDI #elif defined(__NetBSD__) # define CFG_HOS_NETBSD #elif defined(__CYGWIN32__) || defined(WIN32) || defined(WINNT) || defined(__WIN32__) || defined(__WIN32) # define CFG_HOS_MSWIN #elif defined(sony_news) && defined(__svr4) # define CFG_HOS_NEWSOS6 #elif defined(__EMX__) || defined(OS2) || defined(__OS2__) # define CFG_HOS_OS2 #endif #endif /* PG_CONFIG_FILE_H */