]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
autoconf: wrap AC_MASG_WARN and AC_CHECK_HEADERS parameters
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 4 May 2013 03:38:49 +0000 (21:38 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 4 May 2013 03:38:49 +0000 (21:38 -0600)
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.

acinclude/squid-util.m4

index 0c0b2292f125315a089abaeeac53de58cc6eed94..972d3bf2a84ab321eb9a10c411338d48b74f11aa 100644 (file)
@@ -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)
 ])