]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix make dist error
authorserassio <>
Wed, 13 Sep 2006 18:32:26 +0000 (18:32 +0000)
committerserassio <>
Wed, 13 Sep 2006 18:32:26 +0000 (18:32 +0000)
configure.in

index 13df799d76d3d7777c277e7c1e48e0a931e336a8..0c9bb83eede8295a578eee8acb8380cd3dc2fb9d 100644 (file)
@@ -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\"