From: serassio <> Date: Wed, 13 Sep 2006 18:32:26 +0000 (+0000) Subject: Fix make dist error X-Git-Tag: SQUID_3_0_PRE5~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00dae58476003fe1a4611aa205fb8f13755b1392;p=thirdparty%2Fsquid.git Fix make dist error --- diff --git a/configure.in b/configure.in index 13df799d76..0c9bb83eed 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Configuration input file for Squid dnl -dnl $Id: configure.in,v 1.436 2006/09/06 19:36:42 serassio Exp $ +dnl $Id: configure.in,v 1.437 2006/09/13 12:32:26 serassio Exp $ dnl dnl dnl @@ -11,7 +11,7 @@ AM_CONFIG_HEADER(include/autoconf.h) AC_CONFIG_AUX_DIR(cfgaux) AC_CONFIG_SRCDIR([src/main.cc]) AM_INIT_AUTOMAKE([tar-ustar]) -AC_REVISION($Revision: 1.436 $)dnl +AC_REVISION($Revision: 1.437 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AM_MAINTAINER_MODE @@ -635,6 +635,8 @@ if test -z "$FOUND_AIO" && test -n "$NEED_AIO"; then DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/AIO/AIODiskIOModule.o" fi echo "IO Modules built: $DISK_MODULES" +USE_AIOPS_WIN32=0 +USE_AIO_WIN32=0 dnl we know what is being built. now add dependencies. for fs in $DISK_MODULES none; do case "$fs" in @@ -642,11 +644,10 @@ for fs in $DISK_MODULES none; do if test -z "$with_pthreads"; then case "$host_os" in mingw|mingw32|cygwin|cygwin32) - AM_CONDITIONAL(USE_AIOPS_WIN32, true) + USE_AIOPS_WIN32=1 echo "DiskThreads IO Module used, Windows threads support automatically enabled" ;; *) - AM_CONDITIONAL(USE_AIOPS_WIN32, false) echo "DiskThreads IO Module used, pthreads support automatically enabled" with_pthreads=yes ;; @@ -657,11 +658,10 @@ for fs in $DISK_MODULES none; do if test -z "$with_aio"; then case "$host_os" in mingw|mingw32|cygwin|cygwin32) - AM_CONDITIONAL(USE_AIO_WIN32, true) + USE_AIO_WIN32=1 echo "Aio IO Module used, Windows overlapped I/O support automatically enabled" ;; *) - AM_CONDITIONAL(USE_AIO_WIN32, false) echo "Aio IO Module used, aio support automatically enabled" with_aio=yes ;; @@ -674,6 +674,8 @@ done AC_SUBST(DISK_LIBS) AC_SUBST(DISK_PROGRAMS) AC_SUBST(DISK_LINKOBJS) +AM_CONDITIONAL([USE_AIOPS_WIN32], [test "$USE_AIOPS_WIN32" = 1]) +AM_CONDITIONAL([USE_AIO_WIN32], [test "$USE_AIO_WIN32" = 1]) AC_ARG_ENABLE(removal-policies, [ --enable-removal-policies=\"list of policies\"