From: Amos Jeffries Date: Tue, 29 Mar 2016 15:23:51 +0000 (+1300) Subject: Bug 4409 pt2: Fix krb5-config Heimdal detection X-Git-Tag: SQUID_4_0_8~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95ee97e715d5e4de3489f121e95248fe078e069c;p=thirdparty%2Fsquid.git Bug 4409 pt2: Fix krb5-config Heimdal detection --- diff --git a/configure.ac b/configure.ac index 6a2a3c0583..9cb360d652 100644 --- a/configure.ac +++ b/configure.ac @@ -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