From: Amos Jeffries Date: Sun, 25 Jul 2010 21:49:51 +0000 (-0600) Subject: Bug 2986: test-builds.sh letting bugs through X-Git-Tag: SQUID_3_2_0_1~31 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d65bb9adf89ac93652c85e537da0e50c4c00067;p=thirdparty%2Fsquid.git Bug 2986: test-builds.sh letting bugs through --- diff --git a/configure.in b/configure.in index 0ca02bcfd4..dc65b49b3a 100644 --- a/configure.in +++ b/configure.in @@ -72,10 +72,10 @@ AC_PATH_PROG(AR, ar, $FALSE) AR_R="$AR r" AC_SUBST(AR_R) -squid_opt_enable_werror="yes" # default +squid_opt_enable_werror="yes" AC_ARG_ENABLE(strict-error-checking, AS_HELP_STRING([--disable-strict-error-checking],[By default squid is compiled - with all possible static compiler error-checks enbled. + with all possible static compiler error-checks enabled. This flag disables the behavior]), [ if test "${enableval}" = "no" @@ -297,8 +297,7 @@ else SQUID_CXXFLAGS= fi -if test "$squid_opt_enable_werror" = "no" -then +if test "$squid_opt_enable_werror" != "no"; then SQUID_CFLAGS="$SQUID_CFLAGS $squid_cv_cc_option_werror" SQUID_CXXFLAGS="$SQUID_CXXFLAGS $squid_cv_cc_option_werror" fi