From: Martin Kretzschmar Date: Tue, 5 Jul 2005 21:25:06 +0000 (+0000) Subject: check if dbus-binding-tool is installed. Not the case on current X-Git-Tag: EVINCE_0_3_3~160 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=5c7621f5c00e82a787d3cdbc038cf833e581cfa7;p=evince.git check if dbus-binding-tool is installed. Not the case on current Ubuntu breezy, it seems. --- diff --git a/ChangeLog b/ChangeLog index e7206338..2fd227d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-05 Martin Kretzschmar + + * configure.ac: check if dbus-binding-tool is installed. Not the + case on current Ubuntu breezy, it seems. + 2005-07-05 Luca Ferretti * data/evince.desktop.in.in: diff --git a/configure.ac b/configure.ac index a6ee3d73..d28f9e86 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,12 @@ PKG_CHECK_EXISTS([dbus-glib-1 >= $DBUS_GLIB_REQUIRED], [enable_dbus=yes], if test "x$enable_dbus" = "xyes" ; then PKG_CHECK_MODULES([DBUS], [dbus-glib-1 >= $DBUS_GLIB_REQUIRED]) + AC_PATH_PROG([DBUS_BINDING_TOOL], [dbus-binding-tool], [no]) + + if test x$DBUS_BINDING_TOOL = "xno" ; then + AC_MSG_ERROR([dbus-binding-tool executable not found in your path - should be installed with dbus glib bindings]) + fi + AC_DEFINE([ENABLE_DBUS],[1],[Define if DBUS support is enabled]) AC_DEFINE([ENABLE_METADATA],[1],[Define if metadata support is enabled])