summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2010-04-04 10:09:38 -0400
committerJeff Layton <jlayton@samba.org>2010-04-04 10:09:38 -0400
commit4b52d2fdea00107f3c23388891467bbb7f2711eb (patch)
treea19e1427b7f6b5480fba070390b9d621d4168f26 /configure.ac
parent0c287aa5ce5def56d901716e58943f3e9825e3a3 (diff)
downloadcifs-utils-4b52d2fdea00107f3c23388891467bbb7f2711eb.tar.gz
cifs-utils-4b52d2fdea00107f3c23388891467bbb7f2711eb.tar.bz2
cifs-utils-4b52d2fdea00107f3c23388891467bbb7f2711eb.zip
mount.cifs: use libcap-ng to manage capabilities
...in preference to libcap if it's available. Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a64113a..857b0d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -118,6 +118,9 @@ LIBS=$cu_saved_libs
AM_CONDITIONAL(CONFIG_CIFSUPCALL, [test "$enable_cifsupcall" != "no"])
-AC_LIBCAP
+LIBCAP_NG_PATH
+if test "x$CAPNG_LDADD" = "x"; then
+ AC_LIBCAP
+fi
AC_OUTPUT