From 2d65bb9adf89ac93652c85e537da0e50c4c00067 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 25 Jul 2010 15:49:51 -0600 Subject: [PATCH] Bug 2986: test-builds.sh letting bugs through --- configure.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.47.2