X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=bd8ca1dd08541d1427e1f61a8f8c11ea437fd42d;hb=b10e5d81780306200ecadaf86605cef5ad8c9a04;hp=80e7e4053c99434bb0c9af4b3a08afa00447c974;hpb=5dc37ca34bcb0742e8173f0c24ebdf59d2c6dc4d;p=collectd.git diff --git a/configure.in b/configure.in index 80e7e405..bd8ca1dd 100644 --- a/configure.in +++ b/configure.in @@ -491,6 +491,7 @@ AC_CHECK_FUNCS(getifaddrs, [have_getifaddrs="yes"], [have_getifaddrs="no"]) AC_CHECK_FUNCS(syslog, [have_syslog="yes"], [have_syslog="no"]) AC_CHECK_FUNCS(getutent, [have_getutent="yes"], [have_getutent="no"]) AC_CHECK_FUNCS(getutxent, [have_getutxent="yes"], [have_getutxent="no"]) +AC_CHECK_FUNCS(swapctl, [have_swapctl="yes"], [have_swapctl="no"]) # For load module AC_CHECK_FUNCS(getloadavg, [have_getloadavg="yes"], [have_getloadavg="no"]) @@ -3023,6 +3024,11 @@ then plugin_swap="yes" fi +if test "x$have_swapctl" = "xyes" +then + plugin_swap="yes" +fi + if test "x$with_kvm_openfiles$with_kvm_nlist" = "xyesyes" then plugin_tcpconns="yes"