diff options
Diffstat (limited to '')
-rw-r--r-- | plugins.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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]) |