Skip to content

Commit

Permalink
configure.in: Using sysctl(3) for swap statistics is only possible un…
Browse files Browse the repository at this point in the history
…der Mac OS X.
  • Loading branch information
Florian Forster committed Feb 2, 2011
1 parent 1ff5108 commit 1411661
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configure.in
Expand Up @@ -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
Expand Down

0 comments on commit 1411661

Please sign in to comment.