aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins.m4 b/plugins.m4
index 171aa0f..9184c1b 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -63,6 +63,7 @@ for plugin in $plugins; do
PLUGIN_FIFO="yes"
PLUGIN_FILE="yes"
PLUGIN_GPS="yes"
+ PLUGIN_HDDTEMP="yes"
PLUGIN_I2C_SENSORS="yes"
PLUGIN_ICONV="yes"
PLUGIN_IMON="yes"
@@ -115,6 +116,9 @@ for plugin in $plugins; do
gps)
PLUGIN_GPS=$val
;;
+ hddtemp)
+ PLUGIN_HDDTEMP=$hddtemp
+ ;;
i2c_sensors)
PLUGIN_I2C_SENSORS=$val
;;
@@ -242,6 +246,10 @@ if test "$PLUGIN_GPS" = "yes"; then
AC_MSG_WARN(nmeap.h header not found: gps plugin disabled)
fi
fi
+if test "$PLUGIN_HDDTEMP" = "yes"; then
+ PLUGINS="$PLUGINS plugin_hddtemp.o"
+ AC_DEFINE(PLUGIN_HDDTEMP,1,[hddtemp plugin])
+fi
if test "$PLUGIN_I2C_SENSORS" = "yes"; then
PLUGINS="$PLUGINS plugin_i2c_sensors.o"
AC_DEFINE(PLUGIN_I2C_SENSORS,1,[i2c sensors plugin])