aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-07 18:04:18 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-07 18:38:47 +0800
commit74fcb7a804d072361051faaa884ef6071edea65a (patch)
treecc908af7e7da58c322477e2fc09a97f0f58139de /configure.ac
parent608d11794fbf61068c5b02954b4732f84c39449a (diff)
downloadgsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.gz
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.bz2
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.lz
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.xz
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.zst
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.zip
Make use of new GLib macros to check API we are using
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 4 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 76d02e49d..3a0c72ddf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,9 +35,12 @@ AC_COPYRIGHT([
# Hardp deps
FOLKS_REQUIRED=0.6.6
-GLIB_REQUIRED=2.30.0
GNUTLS_REQUIRED=2.8.5
+GLIB_REQUIRED=2.30.0
+AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_30, [Ignore post 2.30 deprecations])
+AC_DEFINE(GLIB_VERSION_MAX_REQUIRED, GLIB_VERSION_2_30, [Prevent post 2.30 APIs])
+
GTK_REQUIRED=3.0.2
AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_0, [Ignore post 3.0 deprecations])
AC_DEFINE(GDK_VERSION_MAX_REQUIRED, GDK_VERSION_3_0, [Prevent post 3.0 APIs])
@@ -70,11 +73,6 @@ CHAMPLAIN_REQUIRED=0.12.1
#ifelse(empathy_released, 1, [], [enable_maintainer_mode="yes"])
#GNOME_MAINTAINER_MODE_DEFINES
-# Disable GLib deprecation warnings for now; we don't want to bump the GLib dep
-# and make things harder for contributiors without good reason. We'll re-enable
-# those warnings later during the cycle (bgo #662662)
-AC_DEFINE(GLIB_DISABLE_DEPRECATION_WARNINGS, 1, [Build with GLib deprecated])
-
# FIXME: bgo #669673
AC_DEFINE(CLUTTER_DISABLE_DEPRECATION_WARNINGS, 1, [Build with Clutter deprecated])