set COMPILE_ET to the found binary at the end if we are using it
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user