[gnome-power-manager] Use separate variables for dbus and dbus-glib



commit 88047affd5934f0d3575a74066902351a5af7316
Author: Michael Biebl <biebl debian org>
Date:   Tue Sep 29 07:32:55 2009 +0200

    Use separate variables for dbus and dbus-glib
    
    dbus and dbus-glib have been split into separate packages quite some
    time ago, so also use separate version requirements.
    For dbus, require at least version 1.0, which has a stable API and no
    longer requires DBUS_API_SUBJECT_TO_CHANGE

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 606b65b..2ca31b4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,8 @@ GTK_REQUIRED=2.17.7
 GDK_REQUIRED=2.11.0
 GCONF_REQUIRED=2.10.0
 GNOME_KEYRING_REQUIRED=0.6.0
-DBUS_REQUIRED=0.70
+DBUS_REQUIRED=1.0
+DBUS_GLIB_REQUIRED=0.70
 LIBNOTIFY_REQUIRED=0.4.3
 LIBWNCK_REQUIRED=2.10.0
 CAIRO_REQUIRED=1.0.0
@@ -112,6 +113,7 @@ AC_SUBST(GLIB_REQUIRED)
 AC_SUBST(GTK_REQUIRED)
 AC_SUBST(GDK_REQUIRED)
 AC_SUBST(DBUS_REQUIRED)
+AC_SUBST(DBUS_GLIB_REQUIRED)
 AC_SUBST(LIBNOTIFY_REQUIRED)
 AC_SUBST(LIBWNCK_REQUIRED)
 AC_SUBST(CAIRO_REQUIRED)
@@ -131,7 +133,7 @@ AC_SUBST(CANBERRA_CFLAGS)
 AC_SUBST(CANBERRA_LIBS)
 
 PKG_CHECK_MODULES(DBUS,[
- dbus-glib-1 >= $DBUS_REQUIRED
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED
  dbus-1 >= $DBUS_REQUIRED
  gthread-2.0])
 AC_SUBST(DBUS_CFLAGS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]