-AC_ARG_ENABLE(cpu, AC_HELP_STRING([--disable-cpu], [Disable CPU usage statistics]),, [enable_cpu="yes"])
-if test "x$enable_cpu" != "xno"
-then
- if test "x$ac_system" = "xLinux" -o "x$with_kstat" = "xyes" -o "x$have_sysctlbyname" = "xyes"
- then
- enable_cpu="yes"
- else
- enable_cpu="no"
- fi
-fi
-if test "x$enable_cpu" = "xno"
-then
- AC_DEFINE(COLLECT_CPU, 0, [Wether or not to collect CPU usage statistics])
-fi
-AM_CONDITIONAL(BUILD_MODULE_CPU, test "x$enable_cpu" = "xyes")
+AC_COLLECTD([apache], [disable], [module], [Apache httpd statistics])
+AC_COLLECTD([apple_sensors], [disable], [module], [Apple's hardware sensors])
+AC_COLLECTD([battery], [disable], [module], [battery statistics])
+AC_COLLECTD([cpu], [disable], [module], [cpu usage statistics])
+AC_COLLECTD([cpufreq], [disable], [module], [system cpu frequency statistics])
+AC_COLLECTD([disk], [disable], [module], [disk/partition statistics])
+AC_COLLECTD([df], [disable], [module], [df statistics])
+AC_COLLECTD([quota], [enable], [module], [quota statistics (experimental)])
+AC_COLLECTD([hddtemp], [disable], [module], [hdd temperature statistics])
+AC_COLLECTD([load], [disable], [module], [system load statistics])
+AC_COLLECTD([memory], [disable], [module], [memory statistics])
+AC_COLLECTD([mysql], [disable], [module], [mysql statistics])
+AC_COLLECTD([nfs], [disable], [module], [nfs statistics])
+AC_COLLECTD([ping], [disable], [module], [ping statistics])
+AC_COLLECTD([processes], [disable], [module], [processes statistics])
+AC_COLLECTD([sensors], [disable], [module], [lm_sensors statistics])
+AC_COLLECTD([serial], [disable], [module], [serial statistics])
+AC_COLLECTD([swap], [disable], [module], [swap statistics])
+AC_COLLECTD([tape], [disable], [module], [tape statistics])
+AC_COLLECTD([traffic], [disable], [module], [system traffic statistics])
+AC_COLLECTD([users], [disable], [module], [user count statistics])
+AC_COLLECTD([vserver], [disable], [module], [vserver statistics])
+AC_COLLECTD([wireless], [disable], [module], [wireless link statistics])