David Michael
2016-Dec-07 02:19 UTC
[PATCH] Find a host-prefixed krb5-config when cross-compiling
--- Hi, I've encountered build failures when compiling with a different --host triplet. The krb5-config command would use /usr/bin/krb5-config instead of the host-prefixed version for that target. Using AC_PATH_TOOL in configure.ac addresses this. Can this change be applied? Thanks. David configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 88c4633..4d9382c 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.7.4
Darren Tucker
2016-Dec-08 01:58 UTC
[PATCH] Find a host-prefixed krb5-config when cross-compiling
On Wed, Dec 7, 2016 at 1:19 PM, David Michael <david.michael at coreos.com> wrote:> I've encountered build failures when compiling with a different --host > triplet. The krb5-config command would use /usr/bin/krb5-config instead > of the host-prefixed version for that target. Using AC_PATH_TOOL in > configure.ac addresses this. Can this change be applied?Applied, thanks. -- Darren Tucker (dtucker at zip.com.au) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.