diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-05-03 11:13:24 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-05-03 11:13:24 +0000 |
commit | 854e71168960439ed10d6ac057725dbe42f95929 (patch) | |
tree | 699cd311625542a4d7572eaf3cab843110a209be /plugins.m4 | |
parent | 0849d874e73b9c456d633bf43f8c219a6be4ec0e (diff) | |
download | lcd4linux-854e71168960439ed10d6ac057725dbe42f95929.tar.gz |
[lcd4linux @ 2005-05-03 11:13:23 by reinelt]
rearranged autoconf a bit,
libX11 will be linked only if really needed (i.e. when the X11 driver has been selected)
plugin_python filled with life
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@537 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugins.m4')
-rw-r--r-- | plugins.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -200,8 +200,8 @@ if test "$PLUGIN_MYSQL" = "yes"; then AC_CHECK_LIB(mysqlclient, mysql_init, [has_mysql_lib="true"], [has_mysql_lib="false"]) if test "$has_mysql_lib" = "true"; then PLUGINS="$PLUGINS plugin_mysql.o" - AC_DEFINE(PLUGIN_MYSQL,1,[mysql plugin]) PLUGINLIBS="$PLUGINLIBS -lmysqlclient" + AC_DEFINE(PLUGIN_MYSQL,1,[mysql plugin]) else AC_MSG_WARN(mysqlclient lib not found: mysql plugin disabled) fi @@ -235,6 +235,8 @@ if test "$PLUGIN_PYTHON" = "yes"; 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 |