From cc3af55244ebbe1806bb44b44bbe2518bf187f32 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 28 Aug 1999 22:19:33 +0000 Subject: [PATCH] Calculate and substitute CCVERSION. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 0ab036aadf3..27f5379eeee 100644 --- a/configure.in +++ b/configure.in @@ -469,6 +469,10 @@ test -n "$aux_missing" && AC_MSG_WARN([ *** some features will be disabled. *** Check the INSTALL file for required versions.]) +# glibcbug.in wants to know the compiler version. +CCVERSION=`$CC -v 2>&1 | sed -n 's/gcc version //p'` +AC_SUBST(CCVERSION) + AC_PROG_CC_LOCAL AC_CANONICAL_BUILD if test $host != $build; then -- 2.47.2