From: wessels <> Date: Wed, 17 Apr 1996 00:34:09 +0000 (+0000) Subject: dont set -Wall on SunOS X-Git-Tag: SQUID_3_0_PRE1~6142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=268d1df2db7ad6cc4839efd602c133a3109d4327;p=thirdparty%2Fsquid.git dont set -Wall on SunOS --- diff --git a/configure b/configure index aafcc24cec..ba37f64da4 100755 --- 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 diff --git a/configure.in b/configure.in index 356c52a5a7..13360658c4 100644 --- a/configure.in +++ b/configure.in @@ -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)