summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-05 10:51:07 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-05 10:51:07 +0200
commit2672e2526bf720c8918eb5c89637c52e42de5423 (patch)
tree423ac0366cf2cf888bf5e5597c96b988105eb313
parent71793fe6ff1cc8aafcd5e4a7bd3947837bba9196 (diff)
downloadtelepathy-logger-2672e2526bf720c8918eb5c89637c52e42de5423.tar.gz
use tp-glib version macros
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index dcf2715..76c022a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,10 @@ AC_COPYRIGHT([
GLIB_REQUIRED=2.25.11
DBUS_REQUIRED=1.1.0
DBUS_GLIB_REQUIRED=0.82
+
TELEPATHY_GLIB_REQUIRED=0.18.0
+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])
# Warning if GLib/GDK/GTK headers are included
AC_DEFINE(G_DISABLE_SINGLE_INCLUDES, [], [Disable single includes for GLib])