[empathy/gnome-3-4] Use tp-glib version checking macros



commit aa2c67bebc8dee3d6f53abf8267090d1b68cd098
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed May 9 13:58:26 2012 +0200

    Use tp-glib version checking macros
    
    Will make sure we don't accidentally use new API in stable branch.
    
    Depend on tp-glib 0.18.0 while we are on it as any distro shipping 3.4 should
    use this version any way.

 configure.ac |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 83c98b3..1c45c90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,13 +52,16 @@ AC_DEFINE(CLUTTER_VERSION_MAX_ALLOWED, CLUTTER_VERSION_1_10, [Prevent post 1.10
 CLUTTER_GTK_REQUIRED=0.90.3
 CLUTTER_GST_REQUIRED=1.5.2
 
+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])
+
 GSTREAMER_REQUIRED=0.10.32
 KEYRING_REQUIRED=2.26.0
 GCR_REQUIRED=2.91.4
 LIBCANBERRA_GTK_REQUIRED=0.25
 LIBNOTIFY_REQUIRED=0.7.0
 TELEPATHY_FARSTREAM_REQUIRED=0.2.1
-TELEPATHY_GLIB_REQUIRED=0.17.5
 TELEPATHY_LOGGER=0.2.13
 WEBKIT_REQUIRED=1.3.13
 GOA_REQUIRED=3.3.0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]