Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evince/ChangeLog,v
retrieving revision 1.604
diff -u -u -r1.604 ChangeLog
--- ChangeLog	12 Aug 2005 05:38:50 -0000	1.604
+++ ChangeLog	14 Aug 2005 11:40:27 -0000
@@ -1,3 +1,8 @@
+2005-08-14  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+	* configure.ac: Take only the major version number of dbus. Fixes bug
+	#313443
+
 2005-08-12  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
 
 	* shell/ev-view.c: Fix for bug Bug 311838. Search backward
Index: configure.ac
===================================================================
RCS file: /cvs/gnome/evince/configure.ac,v
retrieving revision 1.105
diff -u -u -r1.105 configure.ac
--- configure.ac	6 Aug 2005 11:35:02 -0000	1.105
+++ configure.ac	14 Aug 2005 11:40:27 -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
 
