From 1411661feae02de931c9c4111b0a7c0493309e49 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 2 Feb 2011 14:25:32 +0100 Subject: [PATCH] configure.in: Using sysctl(3) for swap statistics is only possible under Mac OS X. --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2