Hello,
now i have done it with
autoheader ; autoconf
and the same problem occurs.
autoconf.h
----------
#ifndef __CONFIGURE_H__
#define __CONFIGURE_H__
/* 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.
*/
/* #undef USE_ICMP */
/*
* Traffic management via "delay pools".
*/
/* #undef DELAY_POOLS */
/*
* 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 */
#define SQUID_SNMP 1
/*
* Define to enable WCCP
*/
#define USE_WCCP 1
/*
* Squid frequently calls gettimeofday() for accurate timestamping.
* If you are concerned that gettimeofday() is called too often, and
* could be causing performance degradation, then you can define
* ALARM_UPDATES_TIME and cause Squid's clock to be updated at regular
* intervals (one second) with ALARM signals.
*/
/* #undef ALARM_UPDATES_TIME */
/*
* 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 NTLM is allowed to fail gracefully when a helper has
problems */
/* #undef NTLM_FAIL_OPEN */
/* Define if struct tm has tm_gmtoff member */
#define HAVE_TM_GMTOFF 1
/* Define if struct mallinfo has mxfast member */
/* #undef HAVE_EXT_MALLINFO */
/* Default FD_SETSIZE value */
#define DEFAULT_FD_SETSIZE 1024
/* Maximum number of open filedescriptors */
#define SQUID_MAXFD 1024
/* UDP send buffer size */
#define SQUID_UDP_SO_SNDBUF 65535
/* UDP receive buffer size */
#define SQUID_UDP_SO_RCVBUF 65535
/* TCP send buffer size */
#define SQUID_TCP_SO_SNDBUF 65535
/* TCP receive buffer size */
#define SQUID_TCP_SO_RCVBUF 65535
/* Host type from configure */
#define CONFIG_HOST_TYPE "i686-pc-linux-gnu"
/* If we need to declare sys_errlist[] as external */
/* #undef NEED_SYS_ERRLIST */
/* 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 */
/* #undef USE_GNUREGEX */
/* 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.
*/
#define HAVE_SETRESUID 1
/* Define if you have struct rusage */
#define HAVE_STRUCT_RUSAGE 1
/*
* 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.
*/
/* #undef socklen_t */
/*
* 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
*/
/* #undef fd_mask */
/*
* 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!
*/
#define HAVE_STATVFS 1
/*
* 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
*/
#define HAVE_STRUCT_MALLINFO 1
/*
* Do we want to use truncate(2) or unlink(2)?
*/
/* #undef USE_TRUNCATE */
/*
* Allow underscores in host names
/* #undef ALLOW_HOSTNAME_UNDERSCORES */
/*
* message type for message queues
*/
#define mtyp_t long
/*
* Define this to include code for SSL encryption.
*/
/* #undef USE_SSL */
/*
* Define this to make use of the OpenSSL libraries for
* MD5 calculation rather than Squid's own MD5 implementation
* or if building with SSL encryption (USE_SSL)
*/
/* #undef USE_OPENSSL */
/* 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 1
/*
* Enable support for Transparent Proxy on Linux 2.4 systems
*/
/* #undef LINUX_NETFILTER */
/* #undef int16_t */
/* #undef u_int16_t */
/* #undef int32_t */
/* #undef u_int32_t */
/* #undef int64_t */
/* #undef u_int64_t */
/*
* Enable support for the X-Accelerator-Vary HTTP header
*/
/* #undef X_ACCELERATOR_VARY */
/* The number of bytes in a __int64. */
#define SIZEOF___INT64 0
/* The number of bytes in a int. */
#define SIZEOF_INT 4
/* The number of bytes in a int16_t. */
#define SIZEOF_INT16_T 0
/* The number of bytes in a int32_t. */
#define SIZEOF_INT32_T 0
/* The number of bytes in a int64_t. */
#define SIZEOF_INT64_T 0
/* The number of bytes in a long. */
#define SIZEOF_LONG 4
/* The number of bytes in a long long. */
#define SIZEOF_LONG_LONG 8
/* The number of bytes in a short. */
#define SIZEOF_SHORT 2
/* The number of bytes in a u_int16_t. */
#define SIZEOF_U_INT16_T 0
/* The number of bytes in a u_int32_t. */
#define SIZEOF_U_INT32_T 0
/* The number of bytes in a u_int64_t. */
#define SIZEOF_U_INT64_T 0
/* The number of bytes in a uint16_t. */
#define SIZEOF_UINT16_T 0
/* The number of bytes in a uint32_t. */
#define SIZEOF_UINT32_T 0
/* The number of bytes in a uint64_t. */
#define SIZEOF_UINT64_T 0
/* The number of bytes in a void *. */
#define SIZEOF_VOID_P 4
/* Define if you have the backtrace_symbols_fd function. */
#define HAVE_BACKTRACE_SYMBOLS_FD 1
/* Define if you have the bcopy function. */
#define HAVE_BCOPY 1
/* Define if you have the bswap_16 function. */
/* #undef HAVE_BSWAP_16 */
/* Define if you have the bswap_32 function. */
/* #undef HAVE_BSWAP_32 */
/* Define if you have the crypt function. */
/* #undef HAVE_CRYPT */
/* Define if you have the drand48 function. */
#define HAVE_DRAND48 1
/* Define if you have the fchmod function. */
#define HAVE_FCHMOD 1
/* Define if you have the getdtablesize function. */
#define HAVE_GETDTABLESIZE 1
/* Define if you have the getpagesize function. */
#define HAVE_GETPAGESIZE 1
/* Define if you have the getrlimit function. */
#define HAVE_GETRLIMIT 1
/* Define if you have the getrusage function. */
#define HAVE_GETRUSAGE 1
/* Define if you have the getspnam function. */
#define HAVE_GETSPNAM 1
/* Define if you have the lrand48 function. */
#define HAVE_LRAND48 1
/* Define if you have the mallinfo function. */
#define HAVE_MALLINFO 1
/* Define if you have the mallocblksize function. */
/* #undef HAVE_MALLOCBLKSIZE */
/* Define if you have the mallopt function. */
#define HAVE_MALLOPT 1
/* 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 1
/* 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. */
#define HAVE_POLL 1
/* Define if you have the pthread_attr_setschedparam function. */
#define HAVE_PTHREAD_ATTR_SETSCHEDPARAM 1
/* Define if you have the pthread_attr_setscope function. */
#define HAVE_PTHREAD_ATTR_SETSCOPE 1
/* Define if you have the pthread_setschedparam function. */
#define HAVE_PTHREAD_SETSCHEDPARAM 1
/* 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. */
#define HAVE_REGCOMP 1
/* Define if you have the regexec function. */
#define HAVE_REGEXEC 1
/* Define if you have the regfree function. */
#define HAVE_REGFREE 1
/* Define if you have the res_init function. */
#define HAVE_RES_INIT 1
/* Define if you have the rint function. */
#define HAVE_RINT 1
/* Define if you have the seteuid function. */
#define HAVE_SETEUID 1
/* Define if you have the setgroups function. */
#define HAVE_SETGROUPS 1
/* Define if you have the setpgrp function. */
#define HAVE_SETPGRP 1
/* Define if you have the setrlimit function. */
#define HAVE_SETRLIMIT 1
/* Define if you have the setsid function. */
#define HAVE_SETSID 1
/* Define if you have the sigaction function. */
#define HAVE_SIGACTION 1
/* Define if you have the snprintf function. */
#define HAVE_SNPRINTF 1
/* Define if you have the srand48 function. */
#define HAVE_SRAND48 1
/* Define if you have the srandom function. */
#define HAVE_SRANDOM 1
/* Define if you have the statfs function. */
#define HAVE_STATFS 1
/* 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 1
/* Define if you have the tempnam function. */
#define HAVE_TEMPNAM 1
/* Define if you have the timegm function. */
#define HAVE_TIMEGM 1
/* Define if you have the vsnprintf function. */
#define HAVE_VSNPRINTF 1
/* Define if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* 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 <byteswap.h> header file. */
#define HAVE_BYTESWAP_H 1
/* Define if you have the <config.h> header file. */
/* #undef HAVE_CONFIG_H */
/* Define if you have the <crypt.h> header file. */
#define HAVE_CRYPT_H 1
/* 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. */
#define HAVE_EXECINFO_H 1
/* 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 <glib.h> header file. */
#define HAVE_GLIB_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 <inttypes.h> header file. */
#define HAVE_INTTYPES_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 <openssl/err.h> header file. */
/* #undef HAVE_OPENSSL_ERR_H */
/* Define if you have the <openssl/md5.h> header file. */
/* #undef HAVE_OPENSSL_MD5_H */
/* Define if you have the <openssl/ssl.h> header file. */
/* #undef HAVE_OPENSSL_SSL_H */
/* Define if you have the <poll.h> header file. */
#define HAVE_POLL_H 1
/* Define if you have the <pwd.h> header file. */
#define HAVE_PWD_H 1
/* Define if you have the <regex.h> header file. */
#define HAVE_REGEX_H 1
/* Define if you have the <resolv.h> header file. */
#define HAVE_RESOLV_H 1
/* Define if you have the <sched.h> header file. */
#define HAVE_SCHED_H 1
/* 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 <stdint.h> header file. */
#define HAVE_STDINT_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 1
/* 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. */
#define HAVE_SYS_MOUNT_H 1
/* 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 1
/* Define if you have the <sys/resource.h> header file. */
#define HAVE_SYS_RESOURCE_H 1
/* 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. */
#define HAVE_SYS_STATVFS_H 1
/* Define if you have the <sys/syscall.h> header file. */
#define HAVE_SYS_SYSCALL_H 1
/* 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 1
/* 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. */
#define HAVE_SYS_VFS_H 1
/* Define if you have the <sys/wait.h> header file. */
#define HAVE_SYS_WAIT_H 1
/* 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. */
#define HAVE_UNISTD_H 1
/* Define if you have the <varargs.h> header file. */
#define HAVE_VARARGS_H 1
/* 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). */
/* #undef HAVE_LIBBSD */
/* 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). */
#define HAVE_LIBNSL 1
/* Define if you have the resolv library (-lresolv). */
#define HAVE_LIBRESOLV 1
/* Define if you have the socket library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
#endif /* __CONFIGURE_H__ */
###############################################
###############################################
###############################################
config.h
---------------
#ifndef _CONFIG_H_
#define _CONFIG_H_
#include "autoconf.h" /* For GNU autoconf variables */
#include "version.h"
/****************************************************************************
*--------------------------------------------------------------------------*
* DO *NOT* MAKE ANY CHANGES below here unless you know what you're
doing...*
*--------------------------------------------------------------------------*
****************************************************************************/
#ifdef USE_POSIX_REGEX
#ifndef USE_RE_SYNTAX
#define USE_RE_SYNTAX REG_EXTENDED /* default Syntax */
#endif
#endif
/* define the _SQUID_TYPE_ based on a guess of the OS */
#if defined(__sun__) || defined(__sun) /* SUN */
#define _SQUID_SUN_
#if defined(__SVR4) /* SOLARIS */
#define _SQUID_SOLARIS_
#else /* SUNOS */
#define _SQUID_SUNOS_
#endif
#elif defined(__hpux) /* HP-UX - SysV-like? */
#define _SQUID_HPUX_
#define _SQUID_SYSV_
#elif defined(__osf__) /* OSF/1 */
#define _SQUID_OSF_
#elif defined(__ultrix) /* Ultrix */
#define _SQUID_ULTRIX_
#elif defined(_AIX) /* AIX */
#define _SQUID_AIX_
#elif defined(__linux__) /* Linux */
#define _SQUID_LINUX_
#if USE_ASYNC_IO
#define _SQUID_LINUX_THREADS_
#endif
#elif defined(__FreeBSD__) /* FreeBSD */
#define _SQUID_FREEBSD_
#if USE_ASYNC_IO && defined(LINUXTHREADS)
#define _SQUID_LINUX_THREADS_
#endif
#elif defined(__sgi__) || defined(sgi) || defined(__sgi) /* SGI */
#define _SQUID_SGI_
#if !defined(_SVR4_SOURCE)
#define _SVR4_SOURCE /* for tempnam(3) */
#endif
#if USE_ASYNC_IO
#define _ABI_SOURCE
#endif /* USE_ASYNC_IO */
#elif defined(__NeXT__)
#define _SQUID_NEXT_
#elif defined(__bsdi__)
#define _SQUID_BSDI_ /* BSD/OS */
#elif defined(__NetBSD__)
#define _SQUID_NETBSD_
#elif defined(__CYGWIN32__) || defined(__CYGWIN__)
#define _SQUID_CYGWIN_
#elif defined(WIN32) || defined(WINNT) || defined(__WIN32__) ||
defined(__WIN32)
#define _SQUID_MSWIN_
#elif defined(__APPLE__)
#define _SQUID_APPLE_
#elif defined(sony_news) && defined(__svr4)
#define _SQUID_NEWSOS6_
#elif defined(__EMX__) || defined(OS2) || defined(__OS2__)
#define _SQUID_OS2_
/*
* FIXME: the os2 port of bash seems to have problems checking
* the return codes of programs in if statements. These options
* need to be overridden.
*/
#ifndef socklen_t
#define socklen_t int
#endif
#ifndef fd_mask
#define fd_mask unsigned long
#endif
#endif
#if !defined(CACHE_HTTP_PORT)
#define CACHE_HTTP_PORT 3128
#endif
#if !defined(CACHE_ICP_PORT)
#define CACHE_ICP_PORT 3130
#endif
#if !defined(CACHEMGR_HOSTNAME)
#define CACHEMGR_HOSTNAME ""
#endif
#if SQUID_UDP_SO_SNDBUF > 16384
#undef SQUID_UDP_SO_SNDBUF
#define SQUID_UDP_SO_SNDBUF 16384
#endif
#if SQUID_UDP_SO_RCVBUF > 16384
#undef SQUID_UDP_SO_RCVBUF
#define SQUID_UDP_SO_RCVBUF 16384
#endif
#ifdef HAVE_MEMCPY
#define xmemcpy(d,s,n) memcpy((d),(s),(n))
#elif HAVE_BCOPY
#define xmemcpy(d,s,n) bcopy((s),(d),(n))
#elif HAVE_MEMMOVE
#define xmemcpy(d,s,n) memmove((d),(s),(n))
#endif
#ifdef HAVE_MEMMOVE
#define xmemmove(d,s,n) memmove((d),(s),(n))
#elif HAVE_BCOPY
#define xmemmove(d,s,n) bcopy((s),(d),(n))
#endif
#define xisspace(x) isspace((unsigned char)x)
#define xtoupper(x) toupper((unsigned char)x)
#define xtolower(x) tolower((unsigned char)x)
#define xisdigit(x) isdigit((unsigned char)x)
#define xisascii(x) isascii((unsigned char)x)
#define xislower(x) islower((unsigned char)x)
#define xisalpha(x) isalpha((unsigned char)x)
#if HAVE_RANDOM
#define squid_random random
#define squid_srandom srandom
#elif HAVE_LRAND48
#define squid_random lrand48
#else
#define squid_random rand
#define squid_srandom srand
#endif
#endif /* _CONFIG_H_ */
###############################################
###############################################
Regards,
Thomas
Robert Collins wrote:
>
> On 23 Aug 2001 11:46:42 +0200, Thomas Goebel wrote:
> > Hallo,
> >
> > thanks for your answere.
> >
> > Yes, it worked before on this maschine. No Software update was made
> > since 1 Year.
> >
> > Here is all the output i have.
> >
> > fwi:/DOWN/squid-ntlm # autoheader
> > configure.in:1062: warning: AC_TRY_RUN called without default to allow
> > cross compiling
> > configure.in:1497: warning: AC_TRY_RUN called without default to allow
> > cross compiling
> > fwi:/DOWN/squid-ntlm # automake
>
> The ntlm branch doesn't use automake.
>
> > configure.in: 11: `automake requires `AM_CONFIG_HEADER', not
> > `AC_CONFIG_HEADER'
> > automake: configure.in: `PACKAGE' not defined in configure.in
> > automake: configure.in: `VERSION' not defined in configure.in
> > automake: configure.in: required file `cfgaux/mkinstalldirs' not found
> > automake: configure.in: required file `cfgaux/missing' not found
> > automake: no `Makefile.am' found or specified
> > fwi:/DOWN/squid-ntlm #
>
> you need to run autoconf after autoheader. please retry after running
> 'autoconf' and then ./configure ...
>
> > fwi:/DOWN/squid-ntlm # ./configure --enable-ntlm-authentication
> ...
> If that doesn't work then could you also send over the contents of (from
> the build directory) include/autoconf.h include/config.h
>
> Rob
Received on Thu Aug 23 2001 - 08:32:11 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:54 MST