summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-12-21 19:21:41 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-12-22 15:03:14 +0100
commite73061d354f6b82895ce9d439e8838a1f2da5d40 (patch)
treed0032ec8afce91a29e8841cfc179b5666a69dd73
parent5431402f057db86fa7350c3c09d6078c12c0447c (diff)
downloadautomake-e73061d354f6b82895ce9d439e8838a1f2da5d40.tar.gz
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.
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c8c7b669f..8e3333015 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ 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 <stefano.lattarini@gmail.com>
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 </dev/null])
# Generate man pages.
AM_MISSING_PROG([HELP2MAN], [help2man])