From: Florian Forster Date: Wed, 2 Feb 2011 13:25:32 +0000 (+0100) Subject: configure.in: Using sysctl(3) for swap statistics is only possible under Mac OS X. X-Git-Tag: collectd-5.0.0~10 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1411661feae02de931c9c4111b0a7c0493309e49;p=collectd.git configure.in: Using sysctl(3) for swap statistics is only possible under Mac OS X. --- diff --git a/configure.in b/configure.in index 70e3edda..8db24ca4 100644 --- a/configure.in +++ b/configure.in @@ -4474,8 +4474,11 @@ if test "x$have_sysctl" = "xyes" then plugin_cpu="yes" plugin_memory="yes" - plugin_swap="yes" plugin_uptime="yes" + if test "x$ac_system" = "xDarwin" + then + plugin_swap="yes" + fi fi if test "x$have_sysctlbyname" = "xyes" then