diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-06-01 12:46:32 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-06-01 12:46:32 +0000 |
commit | 9d4b79c99dd3f356383a4a92e84e9b06e1decd77 (patch) | |
tree | 41a56a39aef7d573280616ec89cba0cb9c494a00 /plugins.m4 | |
parent | 3bb5e62705dde4fcd08832cd3bae9adcadba5d2f (diff) | |
download | lcd4linux-9d4b79c99dd3f356383a4a92e84e9b06e1decd77.tar.gz |
[lcd4linux @ 2005-06-01 12:46:31 by reinelt]
--with-python added to configure
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@563 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugins.m4')
-rw-r--r-- | plugins.m4 | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -64,7 +64,7 @@ for plugin in $plugins; do PLUGIN_POP3="yes" PLUGIN_PPP="yes" PLUGIN_PROC_STAT="yes" - PLUGIN_PYTHON="yes" + PLUGIN_PYTHON=$with_python PLUGIN_SETI="yes" PLUGIN_STATFS="yes" PLUGIN_UNAME="yes" @@ -231,13 +231,17 @@ if test "$PLUGIN_PROC_STAT" = "yes"; then AC_DEFINE(PLUGIN_PROC_STAT,1,[proc_stat plugin]) fi if test "$PLUGIN_PYTHON" = "yes"; then - if test -z "$python_path"; then - AC_MSG_WARN(python headers not found: python plugin disabled) + if test "$with_python" != "yes"; then + AC_MSG_WARN(python support not enabled: python plugin disabled (use --with-python to enable)) else - PLUGINS="$PLUGINS plugin_python.o" - CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS" - PLUGINLIBS="$PLUGINLIBS $PYTHON_LDFLAGS $PYTHON_EXTRA_LIBS" - AC_DEFINE(PLUGIN_PYTHON,1,[python plugin]) + if test -z "$python_path"; then + AC_MSG_WARN(python headers not found: python plugin disabled) + else + PLUGINS="$PLUGINS plugin_python.o" + CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS" + PLUGINLIBS="$PLUGINLIBS $PYTHON_LDFLAGS $PYTHON_EXTRA_LIBS" + AC_DEFINE(PLUGIN_PYTHON,1,[python plugin]) + fi fi fi if test "$PLUGIN_SETI" = "yes"; then |