From e73061d354f6b82895ce9d439e8838a1f2da5d40 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 21 Dec 2011 19:21:41 +0100 Subject: [PATCH] configure: report TeX version in config.log * configure.ac: If possible, report the version of the selected TeX program; this should render the logs more informative. --- ChangeLog | 6 ++++++ configure.ac | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index c8c7b669f..8e3333015 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-12-21 Stefano Lattarini + + configure: report TeX version in config.log + * configure.ac: If possible, report the version of the selected + TeX program; this should render the logs more informative. + 2011-12-22 Stefano Lattarini maint: snapshots from `maint' are still development snapshots diff --git a/configure.ac b/configure.ac index 8b1d6851f..d9339d2df 100644 --- a/configure.ac +++ b/configure.ac @@ -100,6 +100,10 @@ AC_SUBST([PERL_THREADS]) # The test suite will skip some tests if tex is absent. AC_CHECK_PROG([TEX], [tex], [tex]) +# Save details about the selected TeX program in config.log. +# Redirect input from /dev/null, as TeX might otherwise hang waiting +# for input from the terminal. +AM_RUN_LOG([$TEX --version