/* include/autoconf.h  Generated by hands  from configure.in   */
#ifndef __CONFIGURE_H__
#define __CONFIGURE_H__

#define TCPV40HDRS

//#ifndef BSD_SELECT
// #define BSD_SELECT
//#endif

#if defined(__IBMC__) || defined(__IBMCPP__)
  #define _SQUID_OS2VAC_
  #define _SQUID_OS2_
#endif

/* Define if using alloca.c.  */
/* #undef C_ALLOCA */

/* Define to empty if the keyword does not work.  */
/* #undef const */

/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
   This function is required for alloca.c support on those systems.  */
/* #undef CRAY_STACKSEG_END */

/* Define if you have alloca, as a function or macro.  */
#define HAVE_ALLOCA 1

/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
/* #define HAVE_ALLOCA_H 1 */

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef mode_t */

/* Define to `long' if <sys/types.h> doesn't define.  */
/* #undef off_t */

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef pid_t */

/* Define to `unsigned' if <sys/types.h> doesn't define.  */
/* #undef size_t */

/* If using the C implementation of alloca, define if you know the
   direction of stack growth for your system; otherwise it will be
   automatically deduced at run-time.
 STACK_DIRECTION > 0 => grows toward higher addresses
 STACK_DIRECTION < 0 => grows toward lower addresses
 STACK_DIRECTION = 0 => direction of growth unknown
 */
/* #undef STACK_DIRECTION */

/* Define if you have the ANSI C header files.  */
#define STDC_HEADERS 1

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
/* #undef WORDS_BIGENDIAN */

/*********************************
 * START OF CONFIGURABLE OPTIONS *
 *********************************/
/*
 * If you are upset that the cachemgr.cgi form comes up with the hostname
 * field blank, then define this to getfullhostname()
 */
/* #undef CACHEMGR_HOSTNAME */

/* Define to do simple malloc debugging */
/* #undef XMALLOC_DEBUG */

/* Define for log file trace of mem alloc/free */
/* #undef MEM_GEN_TRACE */

/* Define to have malloc statistics */
/* #undef XMALLOC_STATISTICS */

/* Define to have a detailed trace of memory allocations */
/* #undef XMALLOC_TRACE */

/* #undef FORW_VIA_DB */

/* Defines how many threads to use for async I/O */
/* #undef ASYNC_IO_THREADS */

/*
 * If you want to use Squid's ICMP features (highly recommended!) then
 * define this.  When USE_ICMP is defined, Squid will send ICMP pings
 * to origin server sites.  This information is used in numerous ways:
 *         - Sent in ICP replies so neighbor caches know how close
 *           you are to the source.
 *         - For finding the closest instance of a URN.
 *         - With the 'test_reachability' option.  Squid will return
 *           ICP_OP_MISS_NOFETCH for sites which it cannot ping.
 */
#define USE_ICMP 1
//#undef USE_ICMP

/*
 * Traffic management via "delay pools".
 */
/* #undef DELAY_POOLS */
#define DELAY_POOLS 1

/*
 * If you want to log User-Agent request header values, define this.
 * By default, they are written to useragent.log in the Squid log
 * directory.
 */
/* #undef USE_USERAGENT_LOG */

/*
 * If you want to log Referer request header values, define this.
 * By default, they are written to referer.log in the Squid log
 * directory.
 */
/* #undef USE_REFERER_LOG */

/*
 * A dangerous feature which causes Squid to kill its parent process
 * (presumably the RunCache script) upon receipt of SIGTERM or SIGINT.
 * Use with caution.
 */
/* #undef KILL_PARENT_OPT */

/* Define to enable SNMP monitoring of Squid */
/* #undef SQUID_SNMP */

/*
 * Define to enable WCCP
 */
#define USE_WCCP 1


/*
 * Define this to include code which lets you specify access control
 * elements based on ethernet hardware addresses.  This code uses
 * functions found in 4.4 BSD derviations (e.g. FreeBSD, ?).
 */
/* #undef USE_ARP_ACL */

/*
 * Define this to include code for the Hypertext Cache Protocol (HTCP)
 */
/* #undef USE_HTCP */

/*
 * Use Cache Digests for locating objects in neighbor caches.  This
 * code is still semi-experimental.
 */
/* #undef USE_CACHE_DIGESTS */

/*
 * Cache Array Routing Protocol
 */
/* #undef USE_CARP */

/* Define if struct tm has tm_gmtoff member */
/* #undef HAVE_TM_GMTOFF */

/* Define if struct mallinfo has mxfast member */
/* #undef HAVE_EXT_MALLINFO */

/* Default FD_SETSIZE value */
#define DEFAULT_FD_SETSIZE 256

/* Maximum number of open filedescriptors */
//#define SQUID_MAXFD 256
#ifdef TCPV40HDRS
  #define SQUID_MAXFD 2560
#else
  #define SQUID_MAXFD 2560*4
#endif
/* UDP send buffer size */
#define SQUID_UDP_SO_SNDBUF 16384

/* UDP receive buffer size */
#ifndef SQUID_UDP_SO_RCVBUF
   #define SQUID_UDP_SO_RCVBUF 41600
#endif

/* TCP send buffer size */
#define SQUID_TCP_SO_SNDBUF 32768

/* TCP receive buffer size */
#define SQUID_TCP_SO_RCVBUF 32768

/* Host type from configure */
#define CONFIG_HOST_TYPE "os2"

/* If we need to declare sys_errlist[] as external */
#define NEED_SYS_ERRLIST 1

/* If gettimeofday is known to take only one argument */
/* #undef GETTIMEOFDAY_NO_TZP */

/* If libresolv.a has been hacked to export _dns_ttl_ */
/* #undef LIBRESOLV_DNS_TTL_HACK */

/* Define if struct ip has ip_hl member */
#define HAVE_IP_HL 1

/* Define if your compiler supports prototyping */
#define HAVE_ANSI_PROTOTYPES 1

/* Define if we should use GNU regex */
#define USE_GNUREGEX 1 

/* signed size_t, grr */
/* #undef ssize_t */

/*
 * Yay! Another Linux brokenness.  Its not good enough to know that
 * setresuid() exists, because RedHat 5.0 declare setresuid() but
 * doesn't implement it.
 */
/* #undef HAVE_SETRESUID */

/* Define if you have struct rusage */
/* #undef HAVE_STRUCT_RUSAGE */

/*
 * This makes warnings go away.  If you have socklen_t defined in your
 * /usr/include files, then this should remain undef'd.  Otherwise it
 * should be defined to int.
 */
#define socklen_t int

/*
 * By default (for now anyway) Squid includes options which allows
 * the cache administrator to violate the HTTP protocol specification
 * in terms of cache behaviour.  Setting this to '0' will disable
 * such code.
 */
#define HTTP_VIOLATIONS 1

/*
 * Enable support for Transparent Proxy on systems using IP-Filter
 * address redirection. This provides "masquerading" support for non
 *  Linux system.
 */
/* #undef IPF_TRANSPARENT */

/*
 * Enable code for assiting in finding memory leaks.  Hacker stuff only.
 */
/* #undef USE_LEAKFINDER */

/*
 * type of fd_set array
 */
#ifndef TCPV40HDRS 
/* (beep) \TOOLKIT\H\stack16\sys\select.h: typedef unsigned int    fd_mask; */
	#define fd_mask int
#endif

/*
 * If _res structure has nsaddr_list member
 */
#define HAVE_RES_NSADDR_LIST 1

/*
 * If _res structure has ns_list member
 */
/* #undef HAVE_RES_NS_LIST */

/*
 * Compile in support for Ident (RFC 931) lookups?  Enabled by default.
 */
#define USE_IDENT 1

/*
 * If your system has statvfs(), and if it actually works!
 */
/* #undef HAVE_STATVFS */

/*
 * If --disable-internal-dns was given to configure, then we'll use
 * the dnsserver processes instead.
 */
/* #undef USE_DNSSERVERS */

/*
 * we check for the existance of struct mallinfo
 */
/* #undef HAVE_STRUCT_MALLINFO */

/*
 * Do we want to use truncate(2) or unlink(2)?
 */
#define USE_TRUNCATE 1

/*
 * Allow underscores in host names
 */
/* #undef ALLOW_HOSTNAME_UNDERSCORES */

/*
 * message type for message queues
 */
#define mtyp_t long

/* Define if you want to set the COSS membuf size */
/* #undef COSS_MEMBUF_SZ */

/* Print stacktraces on fatal errors */
/* #undef PRINT_STACK_TRACE */

/*
 * Define this if unlinkd is required
 * (strongly recommended for ufs storage type)
 */
#define USE_UNLINKD 0

/*
 * Enable support for Transparent Proxy on Linux 2.4 systems
 */
/* #undef LINUX_NETFILTER */

/* The number of bytes in a int.  */
#define SIZEOF_INT 4

/* The number of bytes in a long.  */
#define SIZEOF_LONG 4

/* The number of bytes in a void *.  */
#define SIZEOF_VOID_P 4

/* Define if you have the backtrace_symbols_fd function.  */
/* #undef HAVE_BACKTRACE_SYMBOLS_FD */

/* Define if you have the bcopy function.  */
#define HAVE_BCOPY 1

/* Define if you have the crypt function.  */
/* #undef HAVE_CRYPT */

/* Define if you have the drand48 function.  */
/* #undef HAVE_DRAND48 */

/* Define if you have the fchmod function.  */
/* #undef HAVE_FCHMOD */

/* Define if you have the getdtablesize function.  */
/* #undef HAVE_GETDTABLESIZE */

/* Define if you have the getpagesize function.  */
#define HAVE_GETPAGESIZE 1

/* Define if you have the getrlimit function.  */
/* #undef HAVE_GETRLIMIT */

/* Define if you have the getrusage function.  */
/* #undef HAVE_GETRUSAGE */

/* Define if you have the getspnam function.  */
/* #undef HAVE_GETSPNAM */

/* Define if you have the lrand48 function.  */
/* #undef HAVE_LRAND48 */

/* Define if you have the mallinfo function.  */
/* #undef HAVE_MALLINFO */

/* Define if you have the mallocblksize function.  */
/* #undef HAVE_MALLOCBLKSIZE */

/* Define if you have the mallopt function.  */
/* #undef HAVE_MALLOPT */

/* Define if you have the memcpy function.  */
#define HAVE_MEMCPY 1

/* Define if you have the memmove function.  */
#define HAVE_MEMMOVE 1

/* Define if you have the memset function.  */
#define HAVE_MEMSET 1

/* Define if you have the mkstemp function.  */
#define HAVE_MKSTEMP 0

/* Define if you have the mktime function.  */
#define HAVE_MKTIME 1

/* Define if you have the mstats function.  */
/* #undef HAVE_MSTATS */

/* Define if you have the poll function.  */
/* #undef HAVE_POLL */

/* Define if you have the pthread_attr_setschedparam function.  */
/* #undef HAVE_PTHREAD_ATTR_SETSCHEDPARAM */

/* Define if you have the pthread_attr_setscope function.  */
/* #undef HAVE_PTHREAD_ATTR_SETSCOPE */

/* Define if you have the pthread_setschedparam function.  */
/* #undef HAVE_PTHREAD_SETSCHEDPARAM */

/* Define if you have the pthread_sigmask function.  */
/* #undef HAVE_PTHREAD_SIGMASK */

/* Define if you have the putenv function.  */
#define HAVE_PUTENV 1

/* Define if you have the random function.  */
/* #define HAVE_RANDOM 1*/

/* Define if you have the regcomp function.  */
/* #undef HAVE_REGCOMP */
#define HAVE_REGCOMP

/* Define if you have the regexec function.  */
/* #undef HAVE_REGEXEC */
#define HAVE_REGEXEC

/* Define if you have the regfree function.  */
/* #undef HAVE_REGFREE */
#define HAVE_REGFREE

/* Define if you have the res_init function.  */
#define HAVE_RES_INIT 1

/* Define if you have the rint function.  */
#define HAVE_RINT 0

/* Define if you have the seteuid function.  */
/* #undef HAVE_SETEUID */

/* Define if you have the setgroups function.  */
/* #undef HAVE_SETGROUPS */

/* Define if you have the setpgrp function.  */
/* #undef HAVE_SETPGRP */

/* Define if you have the setrlimit function.  */
/* #undef HAVE_SETRLIMIT */

/* Define if you have the setsid function.  */
/* #undef HAVE_SETSID */

/* Define if you have the sigaction function.  */
#define HAVE_SIGACTION 0

/* Define if you have the snprintf function.  */
#define HAVE_SNPRINTF 0

/* Define if you have the srand48 function.  */
/* #undef HAVE_SRAND48 */

/* Define if you have the srandom function.  */
#define HAVE_SRANDOM 1

/* Define if you have the statfs function.  */
/* #undef HAVE_STATFS */

/* Define if you have the strerror function.  */
#define HAVE_STRERROR 1

/* Define if you have the sysconf function.  */
#define HAVE_SYSCONF 1

/* Define if you have the syslog function.  */
#define HAVE_SYSLOG 0

/* Define if you have the tempnam function.  */
#define HAVE_TEMPNAM 1

/* Define if you have the timegm function.  */
/* #undef HAVE_TIMEGM */

/* Define if you have the vsnprintf function.  */
#define HAVE_VSNPRINTF 0

/* Define if you have the <arpa/inet.h> header file.  */
#ifdef TCPV40HDRS
#define HAVE_ARPA_INET_H 0
#else
#define HAVE_ARPA_INET_H 1
#endif

/* Define if you have the <arpa/nameser.h> header file.  */
#define HAVE_ARPA_NAMESER_H 1

/* Define if you have the <assert.h> header file.  */
#define HAVE_ASSERT_H 1

/* Define if you have the <bstring.h> header file.  */
/* #undef HAVE_BSTRING_H */

/* Define if you have the <config.h> header file.  */
#define HAVE_CONFIG_H 1

/* Define if you have the <crypt.h> header file.  */
/* #undef HAVE_CRYPT_H */

/* Define if you have the <ctype.h> header file.  */
#define HAVE_CTYPE_H 1

/* Define if you have the <dirent.h> header file.  */
/* #define HAVE_DIRENT_H 1 */

/* Define if you have the <errno.h> header file.  */
#define HAVE_ERRNO_H 1

/* Define if you have the <execinfo.h> header file.  */
/* #undef HAVE_EXECINFO_H */

/* Define if you have the <fcntl.h> header file.  */
#define HAVE_FCNTL_H 1

/* Define if you have the <getopt.h> header file.  */
#define HAVE_GETOPT_H 1

/* Define if you have the <gnumalloc.h> header file.  */
/* #undef HAVE_GNUMALLOC_H */

/* Define if you have the <grp.h> header file.  */
/* #define HAVE_GRP_H 1*/

/* Define if you have the <ip_compat.h> header file.  */
/* #undef HAVE_IP_COMPAT_H */

/* Define if you have the <ip_fil.h> header file.  */
/* #undef HAVE_IP_FIL_H */

/* Define if you have the <ip_fil_compat.h> header file.  */
/* #undef HAVE_IP_FIL_COMPAT_H */

/* Define if you have the <ip_nat.h> header file.  */
/* #undef HAVE_IP_NAT_H */

/* Define if you have the <libc.h> header file.  */
/* #undef HAVE_LIBC_H */

/* Define if you have the <limits.h> header file.  */
#define HAVE_LIMITS_H 1

/* Define if you have the <linux/netfilter_ipv4.h> header file.  */
/* #undef HAVE_LINUX_NETFILTER_IPV4_H */

/* Define if you have the <malloc.h> header file.  */
#define HAVE_MALLOC_H 1

/* Define if you have the <math.h> header file.  */
#define HAVE_MATH_H 1

/* Define if you have the <memory.h> header file.  */
#define HAVE_MEMORY_H 1

/* Define if you have the <mount.h> header file.  */
/* #undef HAVE_MOUNT_H */

/* Define if you have the <ndir.h> header file.  */
/* #undef HAVE_NDIR_H */

/* Define if you have the <net/if.h> header file.  */
#define HAVE_NET_IF_H 1

/* Define if you have the <netdb.h> header file.  */
#define HAVE_NETDB_H 1

/* Define if you have the <netinet/if_ether.h> header file.  */
#define HAVE_NETINET_IF_ETHER_H 1

/* Define if you have the <netinet/in.h> header file.  */
#define HAVE_NETINET_IN_H 1

/* Define if you have the <netinet/ip_compat.h> header file.  */
/* #undef HAVE_NETINET_IP_COMPAT_H */

/* Define if you have the <netinet/ip_fil.h> header file.  */
/* #undef HAVE_NETINET_IP_FIL_H */

/* Define if you have the <netinet/ip_fil_compat.h> header file.  */
/* #undef HAVE_NETINET_IP_FIL_COMPAT_H */

/* Define if you have the <netinet/ip_nat.h> header file.  */
/* #undef HAVE_NETINET_IP_NAT_H */

/* Define if you have the <netinet/tcp.h> header file.  */
#define HAVE_NETINET_TCP_H 1

/* Define if you have the <poll.h> header file.  */
/* #undef HAVE_POLL_H */

/* Define if you have the <pwd.h> header file.  */
//#define  HAVE_PWD_H  1
#undef  HAVE_PWD_H 

/* Define if you have the <regex.h> header file.  */
#undef HAVE_REGEX_H 

/* Define if you have the <resolv.h> header file.  */
#define HAVE_RESOLV_H 1

/* Define if you have the <sched.h> header file.  */
/* #undef HAVE_SCHED_H */

/* Define if you have the <signal.h> header file.  */
#define HAVE_SIGNAL_H 1

/* Define if you have the <stdarg.h> header file.  */
#define HAVE_STDARG_H 1

/* Define if you have the <stddef.h> header file.  */
#define HAVE_STDDEF_H 1

/* Define if you have the <stdio.h> header file.  */
#define HAVE_STDIO_H 1

/* Define if you have the <stdlib.h> header file.  */
#define HAVE_STDLIB_H 1

/* Define if you have the <string.h> header file.  */
#define HAVE_STRING_H 1

/* Define if you have the <strings.h> header file.  */
/* #define HAVE_STRINGS_H */

/* Define if you have the <sys/dir.h> header file.  */
/* #undef HAVE_SYS_DIR_H */

/* Define if you have the <sys/file.h> header file.  */
#define HAVE_SYS_FILE_H 1

/* Define if you have the <sys/ioctl.h> header file.  */
#define HAVE_SYS_IOCTL_H 1

/* Define if you have the <sys/mount.h> header file.  */
/* #undef HAVE_SYS_MOUNT_H */

/* Define if you have the <sys/msg.h> header file.  */
#define HAVE_SYS_MSG_H 1

/* Define if you have the <sys/ndir.h> header file.  */
/* #undef HAVE_SYS_NDIR_H */

/* Define if you have the <sys/param.h> header file.  */
#define HAVE_SYS_PARAM_H 0

/* Define if you have the <sys/resource.h> header file.  */
#define HAVE_SYS_RESOURCE_H 0

/* Define if you have the <sys/select.h> header file.  */
#define HAVE_SYS_SELECT_H 1

/* Define if you have the <sys/socket.h> header file.  */
#define HAVE_SYS_SOCKET_H 1

/* Define if you have the <sys/stat.h> header file.  */
#define HAVE_SYS_STAT_H 1

/* Define if you have the <sys/statvfs.h> header file.  */
/* #undef HAVE_SYS_STATVFS_H */

/* Define if you have the <sys/syscall.h> header file.  */
/* #undef HAVE_SYS_SYSCALL_H */

/* Define if you have the <sys/time.h> header file.  */
#define HAVE_SYS_TIME_H 1

/* Define if you have the <sys/types.h> header file.  */
#define HAVE_SYS_TYPES_H 0

/* Define if you have the <sys/un.h> header file.  */
#define HAVE_SYS_UN_H 1

/* Define if you have the <sys/vfs.h> header file.  */
/* #undef HAVE_SYS_VFS_H */

/* Define if you have the <sys/wait.h> header file.  */
#define HAVE_SYS_WAIT_H 0

/* Define if you have the <syslog.h> header file.  */
/* #define HAVE_SYSLOG_H 1 */

/* Define if you have the <time.h> header file.  */
#define HAVE_TIME_H 1

/* Define if you have the <unistd.h> header file.  */
#ifdef TCPV40HDRS
	#define HAVE_UNISTD_H 0
#else
	#define HAVE_UNISTD_H 1
#endif

/* Define if you have the <varargs.h> header file.  */
#define HAVE_VARARGS_H 0

/* Define if you have the 44bsd library (-l44bsd).  */
/* #undef HAVE_LIB44BSD */

/* Define if you have the bind library (-lbind).  */
/* #undef HAVE_LIBBIND */

/* Define if you have the bsd library (-lbsd).  */
#define HAVE_LIBBSD 1

/* Define if you have the gnumalloc library (-lgnumalloc).  */
/* #undef HAVE_LIBGNUMALLOC */

/* Define if you have the intl library (-lintl).  */
/* #undef HAVE_LIBINTL */

/* Define if you have the m library (-lm).  */
#define HAVE_LIBM 1

/* Define if you have the malloc library (-lmalloc).  */
/* #undef HAVE_LIBMALLOC */

/* Define if you have the nsl library (-lnsl).  */
/* #undef HAVE_LIBNSL */

/* Define if you have the resolv library (-lresolv).  */
/* #undef HAVE_LIBRESOLV */

/* Define if you have the socket library (-lsocket).  */
#define HAVE_LIBSOCKET 1

#endif //__CONFIGURE_H__