aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-12-23 15:46:23 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-12-23 15:46:23 +0000
commit91348c5ecee2d7b22b2cb8d0af5a41d309efab91 (patch)
tree65f21f90e24bced996e37b61c0f0e0d08d6fd8f7 /configure
parentc881473ad3e54d4f9c149358173b52b3405262c7 (diff)
downloadlcd4linux-91348c5ecee2d7b22b2cb8d0af5a41d309efab91.tar.gz
hddtemp plugin from Scott Bronson
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@907 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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"