From dfc849d78aaa5dcb694fc32ff9c9eece4f8b0f88 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 23 Jun 2019 17:20:20 +0000 Subject: buildinfo compiler names and options; reautoconf git-svn-id: svn://tug.org/texlive/trunk@51428 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/doc/buildinfo.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Build/source/doc') diff --git a/Build/source/doc/buildinfo.sh b/Build/source/doc/buildinfo.sh index be141e1b71b..7784ae5061c 100755 --- a/Build/source/doc/buildinfo.sh +++ b/Build/source/doc/buildinfo.sh @@ -14,13 +14,24 @@ printf 'UNAME\t"%s"\n' "`uname -a`" # /etc/issue often contains only placeholders, so don't bother. +printf 'MAKE\t"%s"\n' "${MAKE-make}" printf 'MAKE-v\t"%s"\n' "`${MAKE-make} -v 2>&1 | sed 1q`" # BSD make does not give version info with -v, but the # first line of the usage message is sort of an identifier. # our configure defaults to using gcc and g++. +printf 'CC\t"%s"\n' "${CC-gcc}" +printf 'CFLAGS\t"%s"\n' "${CFLAGS}" printf 'CC-v\t"%s"\n' "`${CC-gcc} --version 2>&1 | sed 1q`" +# +printf 'CXX\t"%s"\n' "${CXX-g++}" +printf 'CXXFLAGS\t"%s"\n' "${CXXFLAGS}" printf 'CXX-v\t"%s"\n' "`${CXX-g++} --version 2>&1 | sed 1q`" +# +printf 'OBJCXX\t"%s"\n' "${OBJCXX-cc}" +printf 'OBJCXXFLAGS\t"%s"\n' "${OBJCXXFLAGS}" +# +printf 'LDFLAGS\t"%s"\n' "${LDFLAGS}" # Some Linux-based systems provide this, but don't worry if not there. # Let's hope that other systems are sufficiently identified by uname, -- cgit v1.2.3