[evolution-data-server] Require gweather >= 2.90.0 when building against gtk+-3.0.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Require gweather >= 2.90.0 when building against gtk+-3.0.
- Date: Tue, 29 Jun 2010 13:56:06 +0000 (UTC)
commit e37080a5dd15a80797f5eadb690d3762f9a2a498
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Jun 29 09:07:43 2010 -0400
Require gweather >= 2.90.0 when building against gtk+-3.0.
Note, at this moment libgweather-2.90.0 doesn't exist. The version
requirement is a guess. The tarball should appear "any minute now".
configure.ac | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0225084..aa27143 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,6 @@ m4_define([libsoup_minimum_version], [2.3.0])
m4_define([libgdata_minimum_version], [0.6.3])
m4_define([gnome_keyring_minimum_version], [2.20.1])
m4_define([sqlite_minimum_version], [3.5])
-m4_define([gweather_minimum_version], [2.25.4])
m4_define([libical_minimum_version], [0.43])
m4_define([dbus_glib_minimum_version], [0.6])
@@ -56,10 +55,12 @@ if test "x${enable_gtk3}" = "xyes"; then
LIBEDATASERVER_UI_API_VERSION=3.0
GTK_PACKAGE="gtk+-3.0"
gtk_minimum_version="2.90.5"
+ gweather_minimum_version="2.90.0"
else
LIBEDATASERVER_UI_API_VERSION=1.2
GTK_PACKAGE="gtk+-2.0"
gtk_minimum_version="2.20.0"
+ gweather_minimum_version="2.25.4"
fi
AM_CONDITIONAL([ENABLE_GTK3], [test "$enable_gtk3" = yes])
@@ -983,8 +984,8 @@ fi
AC_MSG_RESULT([$use_gweather])
if test "x$use_gweather" = "xyes"; then
- PKG_CHECK_MODULES([LIBGWEATHER], [gweather >= gweather_minimum_version],[],
- [AC_MSG_ERROR([The weather calendar backend requires GWeather >= gweather_minimum_version. Alternatively, you may specify --without-weather as a configure option to avoid building the backend.])])
+ PKG_CHECK_MODULES([LIBGWEATHER], [gweather >= $gweather_minimum_version],[],
+ [AC_MSG_ERROR([The weather calendar backend requires GWeather >= $gweather_minimum_version. Alternatively, you may specify --without-weather as a configure option to avoid building the backend.])])
fi
AM_CONDITIONAL(ENABLE_WEATHER, [test $use_gweather = yes])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]