summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-01-04 15:57:22 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-01-04 15:57:22 +0000
commitc9779d896a77f96f8aa582113984ba722ff65eb0 (patch)
treef4e6df904de2923c7dfe17b9e54a021ade616908 /configure.ac
parentf75008175d3aa5397204eb3d0b757cb49fcde30c (diff)
downloadtelepathy-salut-c9779d896a77f96f8aa582113984ba722ff65eb0.tar.gz
Require telepathy-glib 0.20, and forbid functions deprecated in that version
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 56d7c4a5..8a10fc13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,7 +199,9 @@ AC_SUBST(LIBXML2_CFLAGS)
AC_SUBST(LIBXML2_LIBS)
AC_DEFINE([TP_DISABLE_SINGLE_INCLUDE], [], [Disable single header include])
-PKG_CHECK_MODULES(TELEPATHY_GLIB, [telepathy-glib >= 0.19.7])
+AC_DEFINE([TP_VERSION_MIN_REQUIRED], [TP_VERSION_0_20], [Ignore post 0.20 deprecations])
+AC_DEFINE([TP_VERSION_MAX_ALLOWED], [TP_VERSION_0_20], [Prevent post 0.20 APIs])
+PKG_CHECK_MODULES([TELEPATHY_GLIB], [telepathy-glib >= 0.20])
AC_SUBST(TELEPATHY_GLIB_CFLAGS)
AC_SUBST(TELEPATHY_GLIB_LIBS)