]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bootstrapped
authorhno <>
Sat, 16 Jul 2005 06:10:39 +0000 (06:10 +0000)
committerhno <>
Sat, 16 Jul 2005 06:10:39 +0000 (06:10 +0000)
configure

index fc1c788496c2abf86672898e8125a867a90aa86b..67df683f00e547a697fa1d835fc9f61b9698a637 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.378 .
+# From configure.in Revision: 1.380 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59.
 #
@@ -21625,6 +21625,22 @@ case "$host" in
        ;;
 esac
 
+if test "$GCC" = "yes"; then
+    GCCVER=`$CC -v 2>&1 | awk '$2 ==  "version" {print $3}'`
+    GCCVER2=`echo $GCCVER | awk '{print $1 * 100}'`
+    case "$host" in
+    i386-*-freebsd*)
+       if test $GCCVER2 -lt 300 ; then
+           echo "ERROR: GCC $GCCVER causes a coredump on $host"
+           echo "ERROR: Try a more recent GCC version"
+           exit 1
+       fi
+       ;;
+    esac
+    unset GCCVER
+    unset GCCVER2
+fi
+
 if test -z "$PRESET_CFLAGS"; then
     if test "$GCC" = "yes"; then
         case "$host" in