diff options
author | Reinhard Tartler <siretart@tauware.de> | 2007-04-05 15:25:19 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2007-04-05 15:25:19 +0200 |
commit | d0c7529cb9833ede3595051df5599a11fe03be48 (patch) | |
tree | 4e63b581f10aa58e714cbf5f08f8c4ade0c09fff /plugins.m4 | |
parent | 3811bca55e79006fb5c3dc8f25d8ef29ccdda758 (diff) | |
download | lcd4linux-d0c7529cb9833ede3595051df5599a11fe03be48.tar.gz |
import new upstream
Diffstat (limited to '')
-rw-r--r-- | plugins.m4 | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -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]) |