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"
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