AM_CONDITIONAL(ENABLE_WIN32SPECIFIC,
[test "x$squid_host_os" = "xmingw" -o "x$squid_host_os" = "xcygwin"])
-AM_CONDITIONAL(USE_IPC_WIN32,[test "x$squid_host_os" = "xmingw"])
+AM_CONDITIONAL(ENABLE_WIN32_IPC,[test "x$squid_host_os" = "xmingw"])
case "$squid_host_os" in
mingw)
AC_ARG_WITH(aio, AS_HELP_STRING([--without-aio],[Do not use POSIX AIO. Default: auto-detect]))
AH_TEMPLATE(USE_DISKIO_AIO, [Whether POSIX AIO support is needed. Automatic])
AH_TEMPLATE(USE_DISKIO_DISKTHREADS, [Whether pthreads support is needed. Automatic])
-USE_AIOPS_WIN32=0
+ENABLE_WIN32_AIOPS=0
squid_opt_use_aio=
squid_opt_use_diskthreads=
AIOLIB=
dnl REF: http://autoconf-archive.cryp.to/acx_pthread.html
case "$squid_host_os" in
mingw)
- USE_AIOPS_WIN32=1
+ ENABLE_WIN32_AIOPS=1
AC_MSG_NOTICE([Windows threads support automatically enabled])
;;
freebsd)
DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/AIO/AIODiskIOModule.o"
case "$squid_host_os" in
mingw)
- USE_AIO_WIN32=1
+ ENABLE_WIN32_AIO=1
AC_MSG_NOTICE([Replacing AIO DiskIO module with: Windows overlapped I/O support])
;;
*)
AC_SUBST(DISK_PROGRAMS)
AC_SUBST(DISK_LINKOBJS)
AC_SUBST(DISK_OS_LIBS)
-AM_CONDITIONAL([USE_AIOPS_WIN32], [test "$USE_AIOPS_WIN32" = "1"])
-AM_CONDITIONAL([USE_AIO_WIN32], [test "$USE_AIO_WIN32" = "1"])
+AM_CONDITIONAL([ENABLE_WIN32_AIOPS], [test "$ENABLE_WIN32_AIOPS" = "1"])
+AM_CONDITIONAL([ENABLE_WIN32_AIO], [test "$ENABLE_WIN32_AIO" = "1"])
dnl Check what Storage formats are wanted.
WINSVC_SOURCE =
endif
-if USE_IPC_WIN32
+if ENABLE_WIN32_IPC
IPC_SOURCE = SquidIpc.h ipc_win32.cc
else
IPC_SOURCE = SquidIpc.h ipc.cc
AIO_WIN32_ALL_SOURCES = \
DiskIO/AIO/aio_win32.cc \
DiskIO/AIO/aio_win32.h
-if USE_AIO_WIN32
+if ENABLE_WIN32_AIO
AIO_WIN32_SOURCES = $(AIO_WIN32_ALL_SOURCES)
else
AIO_WIN32_SOURCES =
endif
-if USE_AIOPS_WIN32
+if ENABLE_WIN32_AIOPS
AIOPS_SOURCE = DiskIO/DiskThreads/aiops_win32.cc \
DiskIO/DiskThreads/CommIO.cc \
DiskIO/DiskThreads/CommIO.h