From b284c470724d39f4e59948737340579a8924cc76 Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Mon, 5 Jul 2010 13:27:37 +0200 Subject: [PATCH] Refactored win32-service option. --- configure.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 9a77c322cc..2ef92b0758 100644 --- a/configure.in +++ b/configure.in @@ -1953,13 +1953,13 @@ dnl Enable WIN32 Service compile mode AC_ARG_ENABLE(win32-service, AS_HELP_STRING([--enable-win32-service], [Compile Squid as a WIN32 Service. - Works only on MS-Windows platforms]), -[ if test "$enableval" = "yes" ; then - AC_MSG_NOTICE([Enabling WIN32 run service mode]) - AC_DEFINE(USE_WIN32_SERVICE,1, - [Define Windows NT & Windows 2000 run service mode]) - fi + Works only on MS-Windows platforms]), [ +SQUID_YESNO([$enableval], + [unrecognized argument to --enable-win32-service: $enableval]) ]) +SQUID_DEFINE_BOOL(USE_WIN32_SERVICE,${enable_win32_service:=no}, + [Enable code supporting MS Windows service mode]) +AC_MSG_NOTICE([MS Windows service mode enabled: $enable_win32_service]) # Check for Cyrus SASL -- 2.47.3