diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-28 22:19:33 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-28 22:19:33 +0000 |
commit | cc3af55244ebbe1806bb44b44bbe2518bf187f32 (patch) | |
tree | 4280841061712b3aaf50c39b1b9072ed602cf0a4 /configure.in | |
parent | 00905ad925108906d16072ab407821049a597d35 (diff) |
Calculate and substitute CCVERSION.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
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 |