aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xconfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index f28d8cf..19c7a73 100755
--- a/configure
+++ b/configure
@@ -8565,6 +8565,7 @@ echo "$as_me: error: run ./configure --with-plugins=..." >&2;}
PLUGIN_FIFO="yes"
PLUGIN_FILE="yes"
PLUGIN_GPS="yes"
+ PLUGIN_HDDTEMP="yes"
PLUGIN_I2C_SENSORS="yes"
PLUGIN_ICONV="yes"
PLUGIN_IMON="yes"
@@ -8617,6 +8618,9 @@ echo "$as_me: error: run ./configure --with-plugins=..." >&2;}
gps)
PLUGIN_GPS=$val
;;
+ hddtemp)
+ PLUGIN_HDDTEMP=$hddtemp
+ ;;
i2c_sensors)
PLUGIN_I2C_SENSORS=$val
;;
@@ -9148,6 +9152,14 @@ echo "$as_me: WARNING: libnmeap lib not found: gps plugin disabled" >&2;}
echo "$as_me: WARNING: nmeap.h header not found: gps plugin disabled" >&2;}
fi
fi
+if test "$PLUGIN_HDDTEMP" = "yes"; then
+ PLUGINS="$PLUGINS plugin_hddtemp.o"
+
+cat >>confdefs.h <<\_ACEOF
+#define PLUGIN_HDDTEMP 1
+_ACEOF
+
+fi
if test "$PLUGIN_I2C_SENSORS" = "yes"; then
PLUGINS="$PLUGINS plugin_i2c_sensors.o"