]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4409 pt2: Fix krb5-config Heimdal detection
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 29 Mar 2016 15:23:51 +0000 (04:23 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 29 Mar 2016 15:23:51 +0000 (04:23 +1300)
configure.ac

index 6a2a3c0583afab7f85a91d0bba1e510bbe5ed674..9cb360d6529ecb7abfe18744474664d11b9970c0 100644 (file)
@@ -1629,7 +1629,7 @@ if test "x$with_heimdal_krb5" != "xno" -a "x$KRB5LIBS" = "x"; then
     if test "x$ac_cv_path_krb5_config" != "xno" ; then
       krb5confpath="`dirname $ac_cv_path_krb5_config`"
       ac_heimdal="`$ac_cv_path_krb5_config --version 2>/dev/null | grep -c -i heimdal`"
-      if test "x$with_heimdal_krb5" = "xyes"; then
+      if test "x$with_heimdal_krb5" = "xyes" -a $ac_heimdal = 0; then
         AC_MSG_ERROR([Could not find pkg-config or krb5-config for Heimdal Kerberos])
       fi
     else