]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
dont set -Wall on SunOS
authorwessels <>
Wed, 17 Apr 1996 00:34:09 +0000 (00:34 +0000)
committerwessels <>
Wed, 17 Apr 1996 00:34:09 +0000 (00:34 +0000)
configure
configure.in

index aafcc24cecd0dbec447a51a0d13f6e8e9a8f22c0..ba37f64da463a885f7aad5c70c0f9e7ef907f11a 100755 (executable)
--- a/configure
+++ b/configure
@@ -517,7 +517,7 @@ fi
 
 
 
-# From configure.in Revision: 1.16 
+# From configure.in Revision: 1.17 
 ac_aux_dir=
 for ac_dir in aux $srcdir/aux; do
   if test -f $ac_dir/install-sh; then
@@ -2046,7 +2046,14 @@ if test -z "$STD_CFLAGS"; then
     STD_CFLAGS="-g"
     XXXCC=`echo $CC | awk '{print $1}'`
     if test "`basename $XXXCC`" = "gcc"; then
-       STD_CFLAGS="$STD_CFLAGS -Wall"
+       case "$host" in
+       *-sun-sunos*)
+               # sunos has too many warnings for this to be useful
+               ;;
+       *)
+               STD_CFLAGS="$STD_CFLAGS -Wall"
+               ;;
+       esac
     fi
 fi
 
index 356c52a5a790f64ab7dd3554946e0a7b87f348fd..13360658c4f957f3cb5fe4ab465edaf1f32e2ce6 100644 (file)
@@ -3,13 +3,13 @@ dnl  Configuration input file for Squid
 dnl
 dnl  Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.7)
 dnl
-dnl  $Id: configure.in,v 1.17 1996/04/16 05:07:10 wessels Exp $
+dnl  $Id: configure.in,v 1.18 1996/04/16 18:34:09 wessels Exp $
 dnl
 dnl
 dnl
 AC_INIT(src/main.c)
 AC_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.17 $)dnl
+AC_REVISION($Revision: 1.18 $)dnl
 AC_PREFIX_DEFAULT(/usr/local/squid)
 AC_CONFIG_AUX_DIR(aux)
 
@@ -214,7 +214,14 @@ if test -z "$STD_CFLAGS"; then
     STD_CFLAGS="-g"
     XXXCC=`echo $CC | awk '{print $1}'`
     if test "`basename $XXXCC`" = "gcc"; then
-       STD_CFLAGS="$STD_CFLAGS -Wall"
+       case "$host" in
+       *-sun-sunos*)
+               # sunos has too many warnings for this to be useful
+               ;;
+       *)
+               STD_CFLAGS="$STD_CFLAGS -Wall"
+               ;;
+       esac
     fi
 fi
 AC_SUBST(STD_CFLAGS)