Use AC_PATH_TOOL for krb5-config.

This will use the host-prefixed version when cross compiling; patch from
david.michael at coreos.com.
This commit is contained in:
Darren Tucker 2016-12-08 12:57:24 +11:00
parent b4867e0712
commit 4089fc1885
1 changed files with 1 additions and 1 deletions

View File

@ -4151,7 +4151,7 @@ AC_ARG_WITH([kerberos5],
AC_DEFINE([KRB5], [1], [Define if you want Kerberos 5 support])
KRB5_MSG="yes"
AC_PATH_PROG([KRB5CONF], [krb5-config],
AC_PATH_TOOL([KRB5CONF], [krb5-config],
[$KRB5ROOT/bin/krb5-config],
[$KRB5ROOT/bin:$PATH])
if test -x $KRB5CONF ; then