libgdata 0.7 will break API. We don't want to deal with that until 0.7
is released, so cap the supported version.
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)