From: Amos Jeffries Date: Sat, 4 May 2013 03:38:49 +0000 (-0600) Subject: autoconf: wrap AC_MASG_WARN and AC_CHECK_HEADERS parameters X-Git-Tag: SQUID_3_4_0_1~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=deca846380e3244298868c0b7192de604fb16823;p=thirdparty%2Fsquid.git autoconf: wrap AC_MASG_WARN and AC_CHECK_HEADERS parameters It should have no effect, however we are wrapping these headers in the main configure and it adds an extra safety measure in case of problems. --- diff --git a/acinclude/squid-util.m4 b/acinclude/squid-util.m4 index 0c0b2292f1..972d3bf2a8 100644 --- a/acinclude/squid-util.m4 +++ b/acinclude/squid-util.m4 @@ -253,7 +253,7 @@ AS_VAR_POPDEF([ac_Search])dnl dnl Check for Cyrus SASL AC_DEFUN([SQUID_CHECK_SASL],[ squid_sasl_present="auto" - AC_CHECK_HEADERS(sasl/sasl.h sasl.h) + AC_CHECK_HEADERS([sasl/sasl.h sasl.h]) AC_CHECK_LIB(sasl2,sasl_errstring,[LIBSASL="-lsasl2"],[ AC_CHECK_LIB(sasl,sasl_errstring,[LIBSASL="-lsasl"], [ squid_sasl_present="no" @@ -272,7 +272,7 @@ AC_DEFUN([SQUID_CHECK_SASL],[ ;; esac if test "x$squid_sasl_present" != "yes"; then - AC_MSG_WARN(Neither SASL nor SASL2 found) + AC_MSG_WARN([Neither SASL nor SASL2 found]) fi AC_SUBST(LIBSASL) ])