]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2986: test-builds.sh letting bugs through
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sun, 25 Jul 2010 21:49:51 +0000 (15:49 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sun, 25 Jul 2010 21:49:51 +0000 (15:49 -0600)
configure.in

index 0ca02bcfd43c62650b2d6d8be329b71936249ad4..dc65b49b3a0234a0ebca6243b51a515c7d47f5ad 100644 (file)
@@ -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