From 5c262dd3d334289b6f1e90f073a63ba2e521861c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 28 Aug 2011 16:19:19 -0700 Subject: [PATCH] set COMPILE_ET to the found binary at the end if we are using it --- cf/check-compile-et.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cf/check-compile-et.m4 b/cf/check-compile-et.m4 index 3f9d95975..305c65d87 100644 --- a/cf/check-compile-et.m4 +++ b/cf/check-compile-et.m4 @@ -84,6 +84,7 @@ if test "${krb_cv_com_err}" = "yes"; then LIB_com_err_a="" LIB_com_err_so="" AC_MSG_NOTICE(Using the already-installed com_err) + COMPILE_ET="${ac_cv_prog_COMPILE_ET}" localcomerr=no elif test "${krb_cv_com_err}" = "cross"; then DIR_com_err="com_err" @@ -91,6 +92,7 @@ elif test "${krb_cv_com_err}" = "cross"; then LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a" LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so" AC_MSG_NOTICE(Using our own com_err with toolchain compile_et) + COMPILE_ET="${ac_cv_prog_COMPILE_ET}" localcomerr=yes else COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et" @@ -102,6 +104,7 @@ else localcomerr=yes fi AM_CONDITIONAL(COM_ERR, test "$localcomerr" = yes)dnl +AC_SUBST(COMPILE_ET) AC_SUBST(DIR_com_err) AC_SUBST(LIB_com_err) AC_SUBST(LIB_com_err_a)