SQUID_DEFINE_BOOL(USE_AUTH,$enable_auth,[Enable support for authentication])
AM_CONDITIONAL(ENABLE_AUTH, test "x$enable_auth" != "xno")
AUTH_MODULES=""
-require_smblib=0
+require_smblib="no"
AC_ARG_ENABLE(auth-basic,
AS_HELP_STRING([--enable-auth-basic="list of helpers"],
done
AC_SUBST(AUTH_MODULES)
AC_SUBST(AUTH_LIBS_TO_BUILD)
-AM_CONDITIONAL(ENABLE_SMBLIB, $require_smblib)
+AM_CONDITIONAL(ENABLE_SMBLIB, test "x$require_smblib" = "xyes")
dnl Select logging daemon helpers to build
AC_ARG_ENABLE(log-daemon-helpers,
if test "x$auto_auth_basic_modules" != "xyes";then
BUILD_HELPER="SMB_LM"
AC_CHECK_HEADERS([w32api/windows.h windows.h],[BUILD_HELPER=""])
- require_smblib=`test "x$BUILD_HELPER" = "xSMB_LM"`
+ AS_IF([test "x$BUILD_HELPER" = "xSMB_LM"],[require_smblib="yes"])
fi
if test "$squid_host_os" != "mingw" -a "x$auto_auth_ntlm_modules" != "xyes"; then
BUILD_HELPER="SMB_LM"
AC_CHECK_HEADERS([w32api/windows.h windows.h],[BUILD_HELPER=""])
- require_smblib=`test "x$BUILD_HELPER" = "xSMB_LM"`
+ AS_IF([test "x$BUILD_HELPER" = "xSMB_LM"],[require_smblib="yes"])
fi