]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
MacOS compat: properly detect sasl2 (#1693)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Wed, 21 Feb 2024 10:23:33 +0000 (10:23 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 22 Feb 2024 01:58:56 +0000 (01:58 +0000)
On MacOS, squid_host_os is lowercase "darwin".

acinclude/squid-util.m4

index 8328b8383b4ba8a38fcece738d474e7afc1c5d47..45584f3bd504e0d86f6b94be758c40c0ad5f5802 100644 (file)
@@ -342,7 +342,7 @@ AC_DEFUN([SQUID_CHECK_SASL],[
       squid_cv_check_sasl="no"
     ])
   ])
-  AS_IF([test "$squid_host_os" = "Darwin"],[
+  AS_IF([test "$squid_host_os" = "darwin"],[
     AS_IF([test "$ac_cv_lib_sasl2_sasl_errstring" = "yes"],[
       AC_DEFINE(HAVE_SASL_DARWIN,1,[Define to 1 if Mac Darwin without sasl.h])
       echo "checking for MAC Darwin without sasl.h ... yes"