From: Ulrich Drepper Date: Sat, 28 Aug 1999 22:19:33 +0000 (+0000) Subject: Calculate and substitute CCVERSION. X-Git-Tag: cvs/glibc_2-1-2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc3af55244ebbe1806bb44b44bbe2518bf187f32;p=thirdparty%2Fglibc.git Calculate and substitute CCVERSION. --- 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