aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-03-26 22:18:53 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-03-26 22:20:55 +0800
commitbda78f1da8e077aee9f799825e15c5920a667d47 (patch)
treebd869427410640f727ad5658346544db0b0f4b1a
parent6c9c18a487321e5f6382a8be3f22906b6ab74091 (diff)
downloadgsoc2013-evolution-bda78f1da8e077aee9f799825e15c5920a667d47.tar.gz
gsoc2013-evolution-bda78f1da8e077aee9f799825e15c5920a667d47.tar.zst
gsoc2013-evolution-bda78f1da8e077aee9f799825e15c5920a667d47.zip
Limit supported gweather to < 3.5.
gweather-3.5 introduces API changes we do not yet support. A patch for gweather-3.5 support exists in bug 672805, but since our policy forbids requiring unstable libraries, gweather-3.4 support must be retained until GNOME 3.6 is released. gweather-3.5/3.6 support will remain optional until 3.7.1.
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5ae8633dd7..00d00ab5e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1401,6 +1401,11 @@ if test "x$enable_weather" = "xyes"; then
else
AC_MSG_ERROR([gweather-3.0 >= gweather_minimum_version is required for the calendar-weather plugin. Use --disable-weather to exclude the plugin.])
fi
+
+ dnl gweather-3.5 introduces API changes we do not yet support.
+ if `$PKG_CONFIG --atleast-version=3.5 gweather-3.0`; then
+ AC_MSG_ERROR([gweather-3.5 is not yet supported. Install gweather-3.4 or specify --disable-weather as a configure option to exclude the calendar-weather plugin.])
+ fi
fi
dnl ********************************************************************