summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2012-05-14 21:13:43 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2012-05-14 21:13:43 +0100
commit84492da380ae2c0453e2c1aae9218e9f7df1909a (patch)
tree259f7074a3ad31038120266569979a50c6734ce3 /configure.ac
parentfdcfc1c8c6764183e3df65f11d0abc463a3a9984 (diff)
configure: disable newer deprecations and API additions
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f4510dc..7242ed7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,6 +85,8 @@ PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.51, dbus-glib-1 >= 0.51])
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_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_20, [Prevent post 0.20 APIs])
PKG_CHECK_MODULES(TELEPATHY, [telepathy-glib >= 0.15.9])
AC_SUBST(TELEPATHY_CFLAGS)