From 06872fc557274e530ccbd5a36df590d3a36141f3 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 11 May 2009 08:37:27 +0000 Subject: build system: fix fonconfig detection, allow build without latex git-svn-id: svn://tug.org/texlive/trunk@13042 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/xindy/ChangeLog.TL | 5 +++++ Build/source/utils/xindy/configure | 26 +++++++++++++++++++++---- Build/source/utils/xindy/m4/ac_prog_latex.m4 | 2 +- Build/source/utils/xindy/m4/ac_prog_pdflatex.m4 | 2 +- 4 files changed, 29 insertions(+), 6 deletions(-) (limited to 'Build/source/utils') diff --git a/Build/source/utils/xindy/ChangeLog.TL b/Build/source/utils/xindy/ChangeLog.TL index 8df217ac31e..bca3cb3f490 100644 --- a/Build/source/utils/xindy/ChangeLog.TL +++ b/Build/source/utils/xindy/ChangeLog.TL @@ -1,6 +1,11 @@ ChangeLog.TL: Changes for xindy (teTeX / TeX Live) ====================================================== +2009-05-09 Peter Breitenlohner + + * m4/ac_prog_latex.m4, m4/ac_prog_pdflatex.m4: Use TL_MSG_ERROR + instead of AC_MSG_ERROR. + 2009-05-09 Peter Breitenlohner * configure.ac: Remove '--with-clisp=...', use 'CLISP=...'. diff --git a/Build/source/utils/xindy/configure b/Build/source/utils/xindy/configure index e4aeeb429be..ae92948f17d 100755 --- a/Build/source/utils/xindy/configure +++ b/Build/source/utils/xindy/configure @@ -3971,9 +3971,18 @@ test -n "$latex" || latex="no" export latex; if test $latex = "no" ; then - { { $as_echo "$as_me:$LINENO: error: Unable to find a LaTeX application" >&5 + if test "x$enable_build" = xno; then + { $as_echo "$as_me:$LINENO: WARNING: building xindy has been disabled and would fail because +Unable to find a LaTeX application" >&5 +$as_echo "$as_me: WARNING: building xindy has been disabled and would fail because +Unable to find a LaTeX application" >&2;} +else + { { $as_echo "$as_me:$LINENO: error: Unable to find a LaTeX application" >&5 $as_echo "$as_me: error: Unable to find a LaTeX application" >&2;} - { (exit 1); exit 1; }; }; + { (exit 1); exit 1; }; } +fi + +; fi @@ -4036,9 +4045,18 @@ test -n "$pdflatex" || pdflatex="no" export pdflatex; if test $pdflatex = "no" ; then - { { $as_echo "$as_me:$LINENO: error: Unable to find a PDFLaTeX application" >&5 + if test "x$enable_build" = xno; then + { $as_echo "$as_me:$LINENO: WARNING: building xindy has been disabled and would fail because +Unable to find a PDFLaTeX application" >&5 +$as_echo "$as_me: WARNING: building xindy has been disabled and would fail because +Unable to find a PDFLaTeX application" >&2;} +else + { { $as_echo "$as_me:$LINENO: error: Unable to find a PDFLaTeX application" >&5 $as_echo "$as_me: error: Unable to find a PDFLaTeX application" >&2;} - { (exit 1); exit 1; }; }; + { (exit 1); exit 1; }; } +fi + +; fi diff --git a/Build/source/utils/xindy/m4/ac_prog_latex.m4 b/Build/source/utils/xindy/m4/ac_prog_latex.m4 index 450eaf91daf..4dc20e9db70 100644 --- a/Build/source/utils/xindy/m4/ac_prog_latex.m4 +++ b/Build/source/utils/xindy/m4/ac_prog_latex.m4 @@ -13,7 +13,7 @@ AC_CHECK_PROGS(latex,[latex elatex lambda],no) export latex; if test $latex = "no" ; then - AC_MSG_ERROR([Unable to find a LaTeX application]); + TL_MSG_ERROR([Unable to find a LaTeX application]); fi AC_SUBST(latex) ]) diff --git a/Build/source/utils/xindy/m4/ac_prog_pdflatex.m4 b/Build/source/utils/xindy/m4/ac_prog_pdflatex.m4 index 4ab0ee45291..c7e20b5c226 100644 --- a/Build/source/utils/xindy/m4/ac_prog_pdflatex.m4 +++ b/Build/source/utils/xindy/m4/ac_prog_pdflatex.m4 @@ -13,7 +13,7 @@ AC_CHECK_PROGS(pdflatex,[pdflatex],no) export pdflatex; if test $pdflatex = "no" ; then - AC_MSG_ERROR([Unable to find a PDFLaTeX application]); + TL_MSG_ERROR([Unable to find a PDFLaTeX application]); fi AC_SUBST(pdflatex) ]) -- cgit v1.2.3