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:
parent
b4867e0712
commit
4089fc1885
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue