Henrik Nordstrom wrote:
>tor 2006-10-19 klockan 15:45 +0200 skrev Marco Berizzi:
>
> > But I must always specify ./configure --enable-epoll for build squid
> > with epoll support:
> >
> > ./configure --help
> >
> > --enable-epoll Enable epoll() instead of poll() or select().
> > epoll() is best where available, but must be
> > explicitly set at the moment.
>
>The configure help lies a bit. Hasn't been updated to reflect what is
>actually happening. If you doesn't specify any --enable/disable
>epoll/kqueue/poll/select/ options then configure probes the system for
>the best available. If you use --disable-... then those alternatives is
>excluded, if you use --enable-... then that alternative is enforced.
This is the configure output done on a new Slackware 11.0 (glibc 2.3.6):
epoll isn't detected. Of course if I enforce it with --enable-epoll,
squid will be built and run on slack 11. Not a problem for me, I only
wonder why...
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for pkg-config... /usr/bin/pkg-config
Store modules built: ufs
Removal policies built: lru
Auth scheme modules built: basic
unlinkd enabled
checking for egrep... grep -E
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for sh... /bin/sh
checking for false... /usr/bin/false
checking for true... /usr/bin/true
checking for rm... /usr/bin/rm
checking for mv... /usr/bin/mv
checking for mkdir... /usr/bin/mkdir
checking for ln... /usr/bin/ln
checking for perl... /usr/bin/perl
checking for ar... /usr/bin/ar
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for stddef.h... yes
checking for limits.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for bstring.h... no
checking for crypt.h... yes
checking for ctype.h... yes
checking for errno.h... yes
checking for execinfo.h... yes
checking for fcntl.h... yes
checking for fnmatch.h... yes
checking for getopt.h... yes
checking for gnumalloc.h... no
checking for grp.h... yes
checking for libc.h... no
checking for linux/netfilter_ipv4.h... yes
checking for linux/netfilter_ipv4/ip_tproxy.h... no
checking for malloc.h... yes
checking for math.h... yes
checking for memory.h... yes
checking for mount.h... no
checking for net/if.h... yes
checking for net/pfvar.h... no
checking for netdb.h... yes
checking for netinet/if_ether.h... yes
checking for netinet/tcp.h... yes
checking for openssl/err.h... yes
checking for openssl/md5.h... yes
checking for openssl/ssl.h... yes
checking for openssl/engine.h... yes
checking for paths.h... yes
checking for poll.h... yes
checking for pwd.h... yes
checking for regex.h... yes
checking for resolv.h... yes
checking for sched.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for sys/bitypes.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/mount.h... yes
checking for sys/msg.h... yes
checking for sys/prctl.h... yes
checking for sys/resource.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/stat.h... yes
checking for sys/statvfs.h... yes
checking for syscall.h... yes
checking for sys/syscall.h... yes
checking for sys/time.h... yes
checking for sys/un.h... yes
checking for sys/vfs.h... yes
checking for sys/wait.h... yes
checking for sys/event.h... no
checking for syslog.h... yes
checking for time.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for varargs.h... no
checking for byteswap.h... yes
checking for glib.h... no
checking for stdint.h... yes
checking for inttypes.h... yes
checking for grp.h... (cached) yes
checking for nss_common.h... no
checking for nss.h... yes
checking for db.h... yes
checking for db_185.h... yes
checking for aio.h... yes
checking for ip_compat.h... no
checking for ip_fil_compat.h... no
checking for ip_fil.h... no
checking for ip_nat.h... no
checking for ipl.h... no
checking for netinet/ip_compat.h... no
checking for netinet/ip_fil_compat.h... no
checking for netinet/ip_fil.h... no
checking for netinet/ip_nat.h... no
checking for netinet/ipl.h... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking if ANSI prototypes work... yes
checking for tm->tm_gmtoff... yes
checking for struct mallinfo... yes
checking for extended mallinfo... no
checking for struct rusage... yes
checking for ip->ip_hl... yes
checking for void *... yes
checking size of void *... 4
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking size of int8_t... 1
checking size of uint8_t... 1
checking size of u_int8_t... 1
checking size of int16_t... 2
checking size of uint16_t... 2
checking size of u_int16_t... 2
checking size of int32_t... 4
checking size of uint32_t... 4
checking size of u_int32_t... 4
checking size of int64_t... 8
checking size of uint64_t... 8
checking size of u_int64_t... 8
checking size of __int64... 0
checking for int8_t... yes
checking for u_int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for u_int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for u_int64_t... yes
checking for uint64_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for off_t... yes
checking for mode_t... yes
checking for fd_mask... yes
checking size of off_t... 4
checking size of size_t... 4
checking for working alloca.h... yes
checking for alloca... yes
checking for socklen_t... yes
checking for mtyp_t... no
checking for main in -lnsl... yes
checking for main in -lsocket... no
checking for winsock... no
checking for unix domain sockets... yes
checking for main in -lgnumalloc... no
checking for main in -lmalloc... no
checking for main in -lbsd... no
checking for main in -lregex... no
checking for main in -lm... yes
checking for crypt in -lcrypt... yes
checking for epoll_ctl in -lepoll... no
checking for main in -llber... no
checking if dbopen needs -ldb... yes
checking for bcopy... yes
checking for backtrace_symbols_fd... yes
checking for crypt... no
checking for fchmod... yes
checking for getdtablesize... yes
checking for getpagesize... yes
checking for getpass... yes
checking for getrusage... yes
checking for getspnam... yes
checking for kqueue... no
checking for lrand48... yes
checking for mallinfo... yes
checking for mallocblksize... no
checking for mallopt... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for mktime... yes
checking for mstats... no
checking for poll... yes
checking for prctl... yes
checking for pthread_attr_setscope... yes
checking for pthread_setschedparam... yes
checking for pthread_attr_setschedparam... yes
checking for pthread_sigmask... no
checking for putenv... yes
checking for random... yes
checking for regcomp... yes
checking for regexec... yes
checking for regfree... yes
checking for res_init... no
checking for rint... yes
checking for sbrk... yes
checking for select... yes
checking for seteuid... yes
checking for setgroups... yes
checking for setpgrp... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for setsid... yes
checking for sigaction... yes
checking for snprintf... yes
checking for socketpair... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for strsep... yes
checking for strtoll... yes
checking for sysconf... yes
checking for syslog... yes
checking for timegm... yes
checking for vsnprintf... yes
checking for bswap_16... no
checking for bswap_32... no
checking for epoll_ctl... no
Using poll for the IO loop.
checking if setresuid is implemented... yes
checking if va_copy is implemented... yes
checking if __va_copy is implemented... yes
checking if GNUregex needs to be compiled... no
checking for drand48... yes
checking for tempnam... yes
checking for strerror... yes
checking for initgroups... yes
checking Default FD_SETSIZE value... 1024
checking Maximum number of filedescriptors we can open... 1024
checking Default UDP send buffer size... 105472
checking Default UDP receive buffer size... 105472
checking Default TCP send buffer size... 16384
checking Default TCP receive buffer size... 87380
Limiting receive buffer size to 64K
checking if sys_errlist is already defined... no
checking if inet_ntoa() actually works... "yes"
checking for working statvfs() interface... yes
checking for _res.nsaddr_list... yes
>Have updated the help texts to better explain what is going on.
thank you
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Received on Fri Oct 20 2006 - 03:03:06 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST