]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/auth/ntlm/SMB_LM/required.m4
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / auth / ntlm / SMB_LM / required.m4
index 708dc00fd65ab81d17af6ac403168bce5e6aa41a..0594f2e3fac290000f9bbc6237647cac727eb425 100755 (executable)
@@ -1,4 +1,4 @@
-## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+## Copyright (C) 1996-2020 The Squid Software Foundation and contributors
 ##
 ## Squid software is distributed under GPLv2+ license and includes
 ## contributions from numerous individuals and organizations.
@@ -7,9 +7,11 @@
 
 #
 # DONT build this helper on Windows
+# DONT build this helper by default
 #
 # XXX: do we really need the mingw check?
-if test "$squid_host_os" != "mingw"; then
+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=""])
+  AS_IF([test "x$BUILD_HELPER" = "xSMB_LM"],[require_smblib="yes"])
 fi