]> git.0d.be Git - empathy.git/commitdiff
Use tp-glib version checking macros
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 9 May 2012 11:58:26 +0000 (13:58 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 9 May 2012 11:58:26 +0000 (13:58 +0200)
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

index 83c98b38174db3f1d5f511e02c4deec3c6d6772a..1c45c90fa74529f3053b24eb8a07d27d61809ae6 100644 (file)
@@ -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