aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ********************************************************************