]> www.fi.muni.cz Git - evince.git/commitdiff
check if dbus-binding-tool is installed. Not the case on current
authorMartin Kretzschmar <martink@src.gnome.org>
Tue, 5 Jul 2005 21:25:06 +0000 (21:25 +0000)
committerMartin Kretzschmar <martink@src.gnome.org>
Tue, 5 Jul 2005 21:25:06 +0000 (21:25 +0000)
Ubuntu breezy, it seems.

ChangeLog
configure.ac

index e7206338ce31cfc61017910d0993184058a1df22..2fd227d31c102c4056d3a7085f2ec01fc0ea32af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-05  Martin Kretzschmar  <martink@gnome.org>
+
+       * configure.ac: check if dbus-binding-tool is installed. Not the
+       case on current Ubuntu breezy, it seems.
+
 2005-07-05  Luca Ferretti <elle.uca@libero.it>
 
        * data/evince.desktop.in.in:
index a6ee3d737f3df4cb2209f1ecd19f443724450bdb..d28f9e868dc7e804b2f9c70a9f65dcc8d7c9ec8b 100644 (file)
@@ -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])