summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-11-16 10:32:57 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2012-11-16 10:32:57 +0000
commita73b0c13faaab99927c44bebac7088d5c24ba6ea (patch)
tree6f6bd657b15659b14d3f415cbe10c025824f948f /configure.ac
parent0eef9ba8a5a68854be43e655a6d3d9e667d648ca (diff)
downloadtelepathy-salut-a73b0c13faaab99927c44bebac7088d5c24ba6ea.tar.gz
Use telepathy-glib's versioned deprecation warnings.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 98f459c0..f68c2f1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -212,6 +212,9 @@ PKG_CHECK_MODULES(TELEPATHY_GLIB, [telepathy-glib >= 0.17.1])
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_REQUIRED, TP_VERSION_0_18, [Prevent post 0.18 APIs])
+
dnl check the backend to use
if test "$platform" = "win32"; then
AC_ARG_WITH(backend,