aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-03 11:13:24 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-03 11:13:24 +0000
commit854e71168960439ed10d6ac057725dbe42f95929 (patch)
tree699cd311625542a4d7572eaf3cab843110a209be /plugins.m4
parent0849d874e73b9c456d633bf43f8c219a6be4ec0e (diff)
downloadlcd4linux-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.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins.m4 b/plugins.m4
index 927029f..d72daf6 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -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