From: Francesco Chemolli Date: Fri, 9 Jul 2010 13:43:30 +0000 (+0200) Subject: Fixed libcap-related tests in configure.in X-Git-Tag: take1~402^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35e2b2e50e287d7046d42a3aab6f60b4d164f1d8;p=thirdparty%2Fsquid.git Fixed libcap-related tests in configure.in --- 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.