]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Use AC_PATH_TOOL for krb5-config.
authorDarren Tucker <dtucker@zip.com.au>
Thu, 8 Dec 2016 01:57:24 +0000 (12:57 +1100)
committerDarren Tucker <dtucker@zip.com.au>
Thu, 8 Dec 2016 01:57:24 +0000 (12:57 +1100)
This will use the host-prefixed version when cross compiling; patch from
david.michael at coreos.com.

configure.ac

index 88c4633d50958c343c7b4971d1248c45eaaca915..4d9382ca7e53b8f6ccde92b34c2028cb0b2df4f8 100644 (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