]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Disallow -On on gcc 2.95.3 as well, as it can generate bad code.
authoradrian <>
Mon, 11 Jun 2001 00:31:39 +0000 (00:31 +0000)
committeradrian <>
Mon, 11 Jun 2001 00:31:39 +0000 (00:31 +0000)
configure
configure.in

index 47b42e05949cb40d6f88756e2fe7b5d3dcde7285..5ef6e8d4157a96abbdba05647a75dbbc3ad702c0 100755 (executable)
--- a/configure
+++ b/configure
@@ -700,7 +700,7 @@ fi
 
 
 
-# From configure.in Revision
+# From configure.in Revision: 1.225 
 ac_aux_dir=
 for ac_dir in cfgaux $srcdir/cfgaux; do
   if test -f $ac_dir/install-sh; then
@@ -5785,12 +5785,12 @@ EOF
                ;;
 esac
 
-# Remove optimization for GCC 2.95.[12]
+# Remove optimization for GCC 2.95.[123]
 # gcc -O[2] on *BSD and Linux (x86) causes pointers to magically become NULL
 if test "$GCC" = "yes"; then
        GCCVER=`$CC -v 2>&1 | awk '$2 ==  "version" {print $3}'`
        case "$GCCVER" in
-       2.95.[12])
+       2.95.[123])
                echo "Removing -O for gcc on $host with GCC $GCCVER"
                CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
                ;;
index 83f7465ccdd271c140e13f6aaa5bc49232aae75a..6df8059bf8ab1ea9237427d32775d53ffd910530 100644 (file)
@@ -3,13 +3,13 @@ dnl  Configuration input file for Squid
 dnl
 dnl  Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9)
 dnl
-dnl  $Id: configure.in,v 1.225 2001/05/05 17:49:54 hno Exp $
+dnl  $Id: configure.in,v 1.226 2001/06/10 18:31:40 adrian Exp $
 dnl
 dnl
 dnl
 AC_INIT(src/main.c)
 AC_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.225 $)dnl
+AC_REVISION($Revision: 1.226 $)dnl
 AC_PREFIX_DEFAULT(/usr/local/squid)
 AC_CONFIG_AUX_DIR(cfgaux)
 
@@ -1366,12 +1366,12 @@ dnl during compile.
                ;;
 esac
 
-# Remove optimization for GCC 2.95.[12]
+# Remove optimization for GCC 2.95.[123]
 # gcc -O[2] on *BSD and Linux (x86) causes pointers to magically become NULL
 if test "$GCC" = "yes"; then
        GCCVER=`$CC -v 2>&1 | awk '$2 ==  "version" {print $3}'`
        case "$GCCVER" in
-       [2.95.[12]])
+       [2.95.[123]])
                echo "Removing -O for gcc on $host with GCC $GCCVER"
                CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9]]*//'`"
                ;;