From 7bbad480a28698f235dce8630b2a37d41abf72f7 Mon Sep 17 00:00:00 2001 From: entropy Date: Fri, 15 Sep 2006 19:00:50 +0000 Subject: [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 --- plugins.m4 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'plugins.m4') 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]) -- cgit v1.2.3