aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
authorentropy <entropy@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-09-15 19:00:50 +0000
committerentropy <entropy@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-09-15 19:00:50 +0000
commit7bbad480a28698f235dce8630b2a37d41abf72f7 (patch)
treec6d7b60837dad001ca5718052f6b129317834e88 /plugins.m4
parent5fb6f5e2592635ceb7fb9b0e2771968453234c12 (diff)
downloadlcd4linux-7bbad480a28698f235dce8630b2a37d41abf72f7.tar.gz
[lcd4linux @ 2006-09-15 19:00:50 by entropy]
iconv charset converter plugin git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@717 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugins.m4')
-rw-r--r--plugins.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins.m4 b/plugins.m4
index 632f70d..c664c64 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -56,6 +56,7 @@ for plugin in $plugins; do
PLUGIN_EXEC="yes"
PLUGIN_FILE="yes"
PLUGIN_I2C_SENSORS="yes"
+ PLUGIN_ICONV="yes"
PLUGIN_IMON="yes"
PLUGIN_ISDN="yes"
PLUGIN_KVV="yes"
@@ -97,6 +98,9 @@ for plugin in $plugins; do
i2c_sensors)
PLUGIN_I2C_SENSORS=$val
;;
+ iconv)
+ PLUGIN_ICONV=$val
+ ;;
imon)
PLUGIN_IMON=$val
;;
@@ -195,6 +199,16 @@ if test "$PLUGIN_I2C_SENSORS" = "yes"; then
PLUGINS="$PLUGINS plugin_i2c_sensors.o"
AC_DEFINE(PLUGIN_I2C_SENSORS,1,[i2c sensors plugin])
fi
+if test "$PLUGIN_ICONV" = "yes"; then
+ AM_ICONV
+ if test "$am_cv_func_iconv" = "yes"; then
+ PLUGINS="$PLUGINS plugin_iconv.o"
+ PLUGINLIBS="$PLUGINLIBS $LIBICONV"
+ AC_DEFINE(PLUGIN_ICONV,1,[iconv charset converter plugin])
+ else
+ AC_MSG_WARN(iconv not found: iconv plugin disabled)
+ fi
+fi
if test "$PLUGIN_IMON" = "yes"; then
PLUGINS="$PLUGINS plugin_imon.o"
AC_DEFINE(PLUGIN_IMON,1,[imon plugin])