From 0dff0819ef3647dbade630c480b4d01a03b9e9b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 6 Dec 2006 13:32:55 +0000 Subject: [PATCH] set automake symbol COM_ERR when we build local com_err git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19252 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/check-compile-et.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cf/check-compile-et.m4 b/cf/check-compile-et.m4 index 6a8f3a215..9ea8320f3 100644 --- a/cf/check-compile-et.m4 +++ b/cf/check-compile-et.m4 @@ -83,12 +83,14 @@ 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) + localcomerr=no elif test "${krb_cv_com_err}" = "cross"; then DIR_com_err="com_err" LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la" 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) + localcomerr=yes else COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et" DIR_com_err="com_err" @@ -96,7 +98,9 @@ else 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) + localcomerr=yes fi +AM_CONDITIONAL(COM_ERR, test "$localcomerr" = yes)dnl AC_SUBST(DIR_com_err) AC_SUBST(LIB_com_err) AC_SUBST(LIB_com_err_a)