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
This commit is contained in:
edman007
2009-11-18 23:23:25 +00:00
parent a1101ce4a4
commit 42f17dd145
2 changed files with 5 additions and 4 deletions

View File

@@ -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"