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
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
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
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
;;
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
;;
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\"