summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-25 09:56:25 (GMT)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-25 13:47:58 (GMT)
commit1afbe1ebe9764982cd0873cbb30f7ba7b8dc9f4c (patch)
treedaaffb2a9b94e471aeb0d4ecd70fe903087f919c
parente0cdd884ebf463f1c371a4105f56af0c7ae54248 (diff)
downloadtelepathy-farstream-1afbe1ebe9764982cd0873cbb30f7ba7b8dc9f4c.tar.gz
telepathy-farstream-1afbe1ebe9764982cd0873cbb30f7ba7b8dc9f4c.tar.xz
bump tp-glib dep and use versioning macros
https://bugs.freedesktop.org/show_bug.cgi?id=69802
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e3ce7bd..30d2484 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,7 +100,9 @@ AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
dnl Check for Telepathy libraries
-PKG_CHECK_MODULES([TELEPATHY], [telepathy-glib >= 0.19.0])
+PKG_CHECK_MODULES([TELEPATHY], [telepathy-glib >= 0.21])
+AC_DEFINE(TP_VERSION_MIN_REQUIRED, TP_VERSION_0_22, [Ignore post 0.22 deprecations])
+AC_DEFINE(TP_VERSION_MAX_ALLOWED, TP_VERSION_0_22, [Prevent post 0.22 APIs])
AC_SUBST(TELEPATHY_CFLAGS)
AC_SUBST(TELEPATHY_LIBS)