summaryrefslogtreecommitdiff
path: root/Build/source/configure.ac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-10-21 18:19:11 +0000
committerKarl Berry <karl@freefriends.org>2014-10-21 18:19:11 +0000
commit1ed4b709f6e9f42a151624dcc40316b315bf6627 (patch)
treeb477afb7540896ee41aecf3778ece8f4a0b47468 /Build/source/configure.ac
parentc54624dae0d3afd30c7b03f7fcf197e1504d400a (diff)
show compiler versions in summary if easy
git-svn-id: svn://tug.org/texlive/trunk@35412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/configure.ac')
-rw-r--r--Build/source/configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/configure.ac b/Build/source/configure.ac
index 7791d9a5e90..3144b054e3d 100644
--- a/Build/source/configure.ac
+++ b/Build/source/configure.ac
@@ -168,7 +168,18 @@ AC_MSG_RESULT([
case $kpse_src$kpse_bld in
*' '*) AC_MSG_ERROR([Absolute source and/or build path with embedded spaces]);;
esac
+
+cc_version=`$CC --version 2>/dev/null | sed 1q`
+test -n "$cc_version" && cc_version=" ($cc_version)"
+#
+cxx_version=`$CXX --version 2>/dev/null | sed 1q`
+test -n "$cxx_version" && cxx_version=" ($cxx_version)"
+
AC_MSG_RESULT([
+ C compiler (CC): $CC$cc_version
+ C++ compiler (CXX): $CXX$cxx_version
+ PATH: $PATH
+
enable_native_texlive_build: $enable_native_texlive_build
enable_largefile: $enable_largefile
enable_shared: $enable_shared