Limit libgdata support to 0.6.
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 5 Oct 2010 15:29:28 +0000 (11:29 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 5 Oct 2010 15:33:59 +0000 (11:33 -0400)
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

index a2bbaa7..21d7aea 100644 (file)
@@ -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)