]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 20 Mar 1998 12:41:37 +0000 (12:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 20 Mar 1998 12:41:37 +0000 (12:41 +0000)
1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* configure.in: Check for recent egcs/gcc.

ChangeLog
configure.in

index 70548c17efedc87cea7f978cbd0bc00ae341f23d..89fdc27bfd7257cc1a133cf0c5f3781c25ef5677 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * configure.in: Check for recent egcs/gcc.
+
 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
 
        * libc.map: Add alphasort64, scandir64, versionsort64.
index da998bca0c6f552cb3303cee5c0cc7fec5290908..cd89b421b4f2bbf65ad529f18a9b1fbd89ef1110 100644 (file)
@@ -468,6 +468,24 @@ LIBC_PROG_BINUTILS
 AC_CHECK_TOOL(AR, ar)
 AC_CHECK_TOOL(RANLIB, ranlib, :)
 
+# check for recent compiler
+AC_MSG_CHECKING(compiler version)
+case `${CC-cc} -v 2>&1` in
+  *egcs-2.91.* | *egcs-1.0.[2-9]* | *egcs-1.1* | *2.8.[1-9]* | *2.9.[0-9] )
+    cc_is_recent="ok"
+    ;;
+  *)
+    cc_is_recent="too old"
+    ;;
+esac
+AC_MSG_RESULT($cc_is_recent)
+if test $cc_is_recent != ok; then
+  AC_MSG_WARN([
+*** Your compiler is too old.
+*** You need at least egcs 1.0.2 or GNU CC 2.8.1 to compile glibc.
+])
+fi
+
 AC_PATH_PROG(BASH, bash, no)
 if test "$BASH" != no &&
    $BASH -c 'test "$BASH_VERSINFO" \
This page took 0.050922 seconds and 5 git commands to generate.