]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4228: ./configure bug/typo in r14394.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 21 Sep 2016 02:09:36 +0000 (14:09 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 21 Sep 2016 02:09:36 +0000 (14:09 +1200)
The bug resulted in "test: too many arguments" error messages when
running ./configure and effectively replaced AC_MSG_ERROR() with
AC_MSG_WARN() for missing but required Heimdal and GNU GSS Kerberos
libraries.

configure.ac

index 670a5eff8033c59ad962f208880a41eb066a27ff..5a2be37d98b9503b1c2d274932accc09f3e4840a 100644 (file)
@@ -1778,7 +1778,7 @@ if test "x$with_heimdal_krb5" != "xno" -a "x$KRB5LIBS" = "x"; then
     SQUID_CHECK_KRB5_FUNCS
   fi
   if test "x$KRB5LIBS" = "x"; then
-    if test test "x$with_heimdal_krb5" = "xyes"; then
+    if test "x$with_heimdal_krb5" = "xyes"; then
       AC_MSG_ERROR([Required Heimdal Kerberos library not found])
     else
       AC_MSG_WARN([Heimdal Kerberos library not found])
@@ -1848,7 +1848,7 @@ if test "x$with_gnugss" != "xno" -a "x$KRB5LIBS" = "x"; then
     SQUID_DEFINE_BOOL(HAVE_KRB5,$squid_cv_working_krb5,[KRB5 support])
   fi
   if test "x$KRB5LIBS" = "x"; then
-    if test test "x$with_gnugss" = "xyes"; then
+    if test "x$with_gnugss" = "xyes"; then
       AC_MSG_ERROR([Required GNU GSS Kerberos library not found])
     else
       AC_MSG_WARN([GNU GSS Kerberos library not found])