From e5786f530f9555469c01435f86039b06aa53feba Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 20 Apr 2009 18:13:48 +0000 Subject: new build system: build icu libs and xetex plus misc updates git-svn-id: svn://tug.org/texlive/trunk@12759 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/m4/kpse-common.m4 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'Build/source/m4/kpse-common.m4') diff --git a/Build/source/m4/kpse-common.m4 b/Build/source/m4/kpse-common.m4 index 86ab1decc8c..05386a7b70d 100644 --- a/Build/source/m4/kpse-common.m4 +++ b/Build/source/m4/kpse-common.m4 @@ -259,3 +259,19 @@ AC_DEFUN([KPSE_ADD_FLAGS], CPPFLAGS="$CPPFLAGS $[]AS_TR_CPP($1)_INCLUDES" LIBS="$[]AS_TR_CPP($1)_LIBS $LIBS" ]) # KPSE_ADD_FLAGS + +# KPSE_MSG_ERROR(PACKAGE, ERROR, [EXIT-STATUS = 1]) +# ------------------------------------------------- +# Same as AC_MSG_ERROR(ERROR, EXIT-STATUS), except when building this +# package PACKAGE has been disabled. +# +# The new (2009) TL build system requires all directories to be configured +# for the benefit of 'dist*' Make targets. When building PACKAGE has been +# disabled, configuring that package must not fail because building required +# libraries from the TL tree has been disabled as a consequence. +AC_DEFUN([KPSE_MSG_ERROR], +[AS_IF([test "x$enable_build" = xno], + [AC_MSG_WARN([building $1 has been disabled and would fail because +$2])], + [AC_MSG_ERROR([$2], m4_default([$3], 1))]) +]) # KPSE_MSG_ERROR -- cgit v1.2.3