Code

contrib/collection3: Set @INC at runtime, too.
[collectd.git] / configure.in
index 70e3edda0f9ed289f3b4ed60a33c8ce9c7b2f624..8db24ca4e82e8b590068cc64d8b68afb76f9ff77 100644 (file)
@@ -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