From 35e2b2e50e287d7046d42a3aab6f60b4d164f1d8 Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Fri, 9 Jul 2010 15:43:30 +0200 Subject: [PATCH] Fixed libcap-related tests in configure.in --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 1fa387dc6f..057f74cf8b 100644 --- a/configure.in +++ b/configure.in @@ -2392,10 +2392,10 @@ if test "x$with_libcap" != "xno"; then SQUID_CHECK_FUNCTIONAL_LIBCAP2 # if it can't be supported.. - if test "x$ac_cv_header_sys_capability_h" = "no" -o \ - "x$ac_cv_lib_cap_cap_clear_flag" = "no"; then + if test "x$ac_cv_header_sys_capability_h" = "xno" -o \ + "x$ac_cv_lib_cap_cap_clear_flag" = "xno"; then # and it was forced on: error - if "x$with_libcap" = "yes" ; then + if "x$with_libcap" = "xyes" ; then AC_MSG_ERROR([libcap forced enabled but not available or not usable, requires libcap-2.09 or later]) else # with_libcap is "auto"; it can't be supported. Disable. -- 2.47.2