X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=configure.ac;h=366ef9b6ddc2256830862c943303b191b0419084;hp=ab6f2298072e603708f14f70ab942aff61a9d278;hb=11c8a760c2d354b2f4637bdb297efb253bfaa519;hpb=004074af297a219208fa9e903db8c5dcdd7e1950 diff --git a/configure.ac b/configure.ac index ab6f2298..366ef9b6 100644 --- a/configure.ac +++ b/configure.ac @@ -835,12 +835,12 @@ AC_CHECK_HEADERS(sys/capability.h, [have_capability="yes"], [have_capability="no ( 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")