projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
79a9420
)
Merge branch 'collectd-5.7'
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 5 Mar 2017 16:21:11 +0000
(17:21 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 5 Mar 2017 16:21:11 +0000
(17:21 +0100)
Conflicts:
configure.ac
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
63cfca7
..
3b932ca
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-592,6
+592,14
@@
if test "x$ac_system" = "xLinux"; then
fi
if test "x$have_capability" = "xyes"; then
+ AC_CHECK_DECL([CAP_IS_SUPPORTED],
+ [have_capability="yes"],
+ [have_capability="no (CAP_IS_SUPPORTED not found)"],
+ [[#include <sys/capability.h>]]
+ )
+ fi
+
+ if test "x$have_capability" = "xyes"; then
AC_DEFINE([HAVE_CAPABILITY], [1], [Define to 1 if you have cap_get_proc() (-lcap).])
fi