summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-28 22:19:33 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-28 22:19:33 +0000
commitcc3af55244ebbe1806bb44b44bbe2518bf187f32 (patch)
tree4280841061712b3aaf50c39b1b9072ed602cf0a4 /configure.in
parent00905ad925108906d16072ab407821049a597d35 (diff)
Calculate and substitute CCVERSION.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 0ab036aadf..27f5379eee 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