[folks] Clarify in configure output that we require 0.6 <= gee <= 0.8.



commit 284c205428a3d827814433a7d5668524aeac734f
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Thu Oct 13 10:48:51 2011 -0700

    Clarify in configure output that we require 0.6 <= gee <= 0.8.
    
    Closes: bgo#660937 - [regression] build failure: No package 'gee-1.0' found

 NEWS         |    1 +
 configure.ac |   13 ++++++++++++-
 2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 79cdc36..8cd7e31 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Bugs fixed:
   VALA_CHECK_PACKAGES([tracker-sparql-0.12])
 * Bug 657602 â Telepathy backend fails to set Personas' phone numbers from
   ContactInfo
+* Bug 660937 â [regression] build failure: No package 'gee-1.0' found
 
 API changes:
 * Implement PhoneDetails on Tpf.Persona
diff --git a/configure.ac b/configure.ac
index 879ca90..a51f2d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,7 +145,18 @@ PKG_CHECK_MODULES([DBUS_GLIB], [dbus-glib-1])
 PKG_CHECK_MODULES([GCONF2], [gconf-2.0 >= $GCONF2_REQUIRED])
 
 # FIXME: We depend on libgee < 0.7 because 0.7 breaks API. bgo#627746
-PKG_CHECK_MODULES([GEE], [gee-1.0 < 0.7])
+PKG_CHECK_MODULES([GEE], [gee-1.0 < 0.7],
+                  have_gee_0_6_x="yes",
+                  have_gee_0_6_x="no")
+
+if test "x$have_gee_0_6_x" != "xyes"; then
+    AC_MSG_ERROR([
+Gee 0.6.x required but not installed.
+
+Note that Gee 0.8.x provides gee-0.8 (but gee-1.0 is, confusingly, provided by
+Gee 0.6.x)])
+fi
+
 PKG_CHECK_MODULES([TP_GLIB], [telepathy-glib >= $TP_GLIB_REQUIRED])
 
 if test x$enable_tracker_backend = xyes; then



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