aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
Diffstat (limited to 'plugins.m4')
-rw-r--r--plugins.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins.m4 b/plugins.m4
index 547fc57..41f4efb 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -32,6 +32,7 @@ for plugin in $plugins; do
all)
PLUGIN_APM="yes"
PLUGIN_CPUINFO="yes"
+ PLUGIN_DISKSTATS="yes"
PLUGIN_DVB="yes"
PLUGIN_EXEC="yes"
PLUGIN_I2C_SENSORS="yes"
@@ -56,6 +57,9 @@ for plugin in $plugins; do
cpuinfo)
PLUGIN_CPUINFO=$val
;;
+ diskstats)
+ PLUGIN_DISKSTATS=$val
+ ;;
dvb)
PLUGIN_DVB=$val
;;
@@ -122,6 +126,10 @@ if test "$PLUGIN_CPUINFO" = "yes"; then
PLUGINS="$PLUGINS plugin_cpuinfo.o"
AC_DEFINE(PLUGIN_CPUINFO,1,[cpuinfo plugin])
fi
+if test "$PLUGIN_DISKSTATS" = "yes"; then
+ PLUGINS="$PLUGINS plugin_diskstats.o"
+ AC_DEFINE(PLUGIN_DISKSTATS,1,[diskstats plugin])
+fi
if test "$PLUGIN_DVB" = "yes"; then
AC_CHECK_HEADERS(linux/dvb/frontend.h, [has_dvb_header=true], [has_dvb_header=false])
if test "$has_dvb_header" = true; then