]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Calculate and substitute CCVERSION.
authorUlrich Drepper <drepper@redhat.com>
Sat, 28 Aug 1999 22:19:33 +0000 (22:19 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 28 Aug 1999 22:19:33 +0000 (22:19 +0000)
configure.in

index 0ab036aadf3d46d0f9985e2e06f774797d2a6609..27f5379eeeef2c9780e95f2b21d23373a8d07ece 100644 (file)
@@ -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