From 2f935b3bc880748dfe1450ff92971dd309f4759b Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 2 Aug 2012 12:36:18 +0100 Subject: [PATCH] Depend on GLib 2.30 and telepathy-glib 0.18 --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3dfacd1..afa6791 100644 --- a/configure.ac +++ b/configure.ac @@ -15,10 +15,16 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The name of the gettext AC_SUBST(GETTEXT_PACKAGE) AM_GLIB_GNU_GETTEXT -PKG_CHECK_MODULES(TELEPATHY_GLIB, telepathy-glib) +AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_30], [Ignore post 2.30 deprecations]) +AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_30], [Prevent post 2.30 APIs]) + +PKG_CHECK_MODULES(TELEPATHY_GLIB, telepathy-glib >= 0.18) AC_SUBST(TELEPATHY_GLIB_CFLAGS) AC_SUBST(TELEPATHY_GLIB_LIBS) +AC_DEFINE([TP_VERSION_MIN_REQUIRED], [TP_VERSION_0_18], [Ignore post 0.18 deprecations]) +AC_DEFINE([TP_VERSION_MAX_ALLOWED], [TP_VERSION_0_18], [Prevent post 0.18 APIs]) + PKG_CHECK_MODULES(TELEPATHY_YTSTENUT, [telepathy-ytstenut-glib]) AC_SUBST(TELEPATHY_YTSTENUT_CFLAGS) AC_SUBST(TELEPATHY_YTSTENUT_LIBS) -- 1.7.10.4