]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed libcap-related tests in configure.in
authorFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 9 Jul 2010 13:43:30 +0000 (15:43 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 9 Jul 2010 13:43:30 +0000 (15:43 +0200)
configure.in

index 1fa387dc6f11904e706e13093f261f5ba46bfa86..057f74cf8be77793a2f59d5a13dc8226e1ed0eed 100644 (file)
@@ -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.