]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4409 pt2: Fix krb5-config Heimdal detection
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Mar 2016 11:38:27 +0000 (00:38 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Mar 2016 11:38:27 +0000 (00:38 +1300)
configure.ac

index 77ffa4c07221ed46c0455cfe24194506aa2dd435..3be0ece459012b1a215d2991ed79c6a1a896a453 100644 (file)
@@ -1649,7 +1649,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