summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2ddc38)
raw | patch | inline | side by side (parent: a2ddc38)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 24 Feb 2017 16:42:59 +0000 (17:42 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 24 Feb 2017 16:43:52 +0000 (17:43 +0100) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index a4603a9bbe2e1e90b40f1aec5523237bfeb8bc8c..3d74fd05d99e432cf3cb7a0f21a4b43da8222479 100644 (file)
--- a/configure.ac
+++ b/configure.ac
[have_capability="yes"],
[have_capability="no (<sys/capability.h> not found)"])
if test "x$have_capability" = "xyes"; then
-AC_CHECK_LIB(cap, cap_get_bound,
+AC_CHECK_LIB(cap, cap_get_proc,
[have_capability="yes"],
- [have_capability="no (cap_get_bound() not found)"])
+ [have_capability="no (cap_get_proc() not found)"])
fi
if test "x$have_capability" = "xyes"; then
- AC_DEFINE(HAVE_CAPABILITY, 1, [Define to 1 if you have cap_get_bound() (-lcap).])
+ AC_DEFINE(HAVE_CAPABILITY, 1, [Define to 1 if you have cap_get_proc() (-lcap).])
fi
AM_CONDITIONAL(BUILD_WITH_CAPABILITY, test "x$have_capability" = "xyes")