[evolution-data-server] Limit libgdata support to 0.6.



commit 821747af30cb25382b35dc8845c9bac154e21603
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Oct 5 11:29:28 2010 -0400

    Limit libgdata support to 0.6.
    
    libgdata 0.7 will break API.  We don't want to deal with that until 0.7
    is released, so cap the supported version.

 configure.ac |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a2bbaa7..21d7aea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -326,6 +326,12 @@ PKG_CHECK_MODULES(GNOME_PLATFORM,
 	libsoup-2.4 >= libsoup_minimum_version
 	libgdata >= libgdata_minimum_version])
 
+dnl libgdata 0.7 will break API.  We don't want to deal with
+dnl that until 0.7 is released, so cap the supported version.
+if $PKG_CONFIG --atleast-version=0.7 libgdata; then
+	AC_MSG_ERROR([libgdata 0.7 is not yet supported, use 0.6 instead])
+fi
+
 LIBICAL_REQUIRED=libical_minimum_version
 AC_SUBST(LIBICAL_REQUIRED)
 



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