aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
Diffstat (limited to 'plugins.m4')
-rw-r--r--plugins.m420
1 files changed, 19 insertions, 1 deletions
diff --git a/plugins.m4 b/plugins.m4
index 632f70d..1e72b5f 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -1,7 +1,11 @@
+dnl $Id: plugins.m4 730 2007-01-14 13:50:28Z michael $
+dnl $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/plugins.m4 $
+
+
dnl LCD4Linux Plugins conf part
dnl
dnl Copyright (C) 1999, 2000, 2001, 2002, 2003 Michael Reinelt <reinelt@eunet.at>
-dnl Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
+dnl Copyright (C) 2004, 2005, 2006, 2007 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
dnl
dnl This file is part of LCD4Linux.
dnl
@@ -56,6 +60,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 +102,9 @@ for plugin in $plugins; do
i2c_sensors)
PLUGIN_I2C_SENSORS=$val
;;
+ iconv)
+ PLUGIN_ICONV=$val
+ ;;
imon)
PLUGIN_IMON=$val
;;
@@ -195,6 +203,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])