aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
authoredman007 <edman007@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-11-18 23:23:25 +0000
committeredman007 <edman007@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-11-18 23:23:25 +0000
commit42f17dd1458ac28098b614c4da4720e40e2829fd (patch)
tree98c60118062ba1e8be853f7f45879c54a7562ba2 /plugins.m4
parenta1101ce4a41b8d11ff88c28735cdc005aba0c203 (diff)
downloadlcd4linux-42f17dd1458ac28098b614c4da4720e40e2829fd.tar.gz
the DBus plugin is now disabled when dbus is not installed instead of stopping the build
Fix a few warnings in drv_PICGraphic.c git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1064 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugins.m4')
-rw-r--r--plugins.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins.m4 b/plugins.m4
index 949bdc2..2e211a3 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -249,8 +249,8 @@ fi
#DBus
if test "$PLUGIN_DBUS" = "yes"; then
- PKG_CHECK_MODULES(DBUS, dbus-1)
- if test "x$DBUS_LIBS" != "x"; then
+ PKG_CHECK_MODULES(DBUS, dbus-1, dbus-1 >= 1.0, HAVE_DBUS="yes", HAVE_DBUS="no")
+ if test "x$HAVE_DBUS" != "xyes"; then
PLUGINS="$PLUGINS plugin_dbus.o"
PLUGINLIBS="$PLUGINLIBS $DBUS_LIBS"
CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"