])
if test "x$squid_pc_krb5_name" = "x" -a "$cross_compiling" = "no"; then
# Look for krb5-config (unless cross-compiling)
- AC_PATH_PROG(krb5_config,krb5-config,no)
+ AC_PATH_PROG(krb5_config,krb5-config,no,$krb5confpath)
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`"
fi
if test "x$squid_pc_krb5_name" = "x" -a "$cross_compiling" = "no"; then
# Look for krb5-config (unless cross-compiling)
- AC_PATH_PROG(krb5_config,krb5-config,no)
+ AC_PATH_PROG(krb5_config,krb5-config,no,$krb5confpath)
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`"