Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evince/ChangeLog,v
retrieving revision 1.610
diff -u -u -r1.610 ChangeLog
--- ChangeLog	16 Aug 2005 12:52:24 -0000	1.610
+++ ChangeLog	16 Aug 2005 13:56:41 -0000
@@ -1,3 +1,8 @@
+2005-08-16  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+	* configure.ac: Take only the major version number of dbus. Fixes bug
+	#313443
+
 2005-08-16  Marco Pesenti Gritti  <mpg@redhat.com>
 
 	* configure.ac:
Index: configure.ac
===================================================================
RCS file: /cvs/gnome/evince/configure.ac,v
retrieving revision 1.108
diff -u -u -r1.108 configure.ac
--- configure.ac	16 Aug 2005 12:52:24 -0000	1.108
+++ configure.ac	16 Aug 2005 13:56:41 -0000
@@ -75,7 +75,7 @@
 
         AC_DEFINE([ENABLE_DBUS],[1],[Define if DBUS support is enabled])
 
-	DBUS_VERSION=`$PKG_CONFIG --modversion dbus-glib-1 | sed 's/0.\([[0-9]]*\)/\1/'`
+	DBUS_VERSION=`$PKG_CONFIG --modversion dbus-glib-1 | sed 's/0.\([[0-9]]*\)\(.[[0-9]]*\)*/\1/'`
 	AC_DEFINE_UNQUOTED(DBUS_VERSION, $DBUS_VERSION, [DBUS version.])
 fi
 
