From: Simon McVittie Date: Mon, 18 Feb 2013 14:27:48 +0000 (+0000) Subject: Don't warn for functions deprecated since GLib 2.26 X-Git-Tag: dbus-1.6.10~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c052230fffb444ff15667bb07411397ce77fb08c;p=thirdparty%2Fdbus.git Don't warn for functions deprecated since GLib 2.26 Also warn if we inadvertently use a function introduced since then. Signed-off-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=59971 Reviewed-by: Colin Walters --- diff --git a/configure.ac b/configure.ac index dc083bb69..edd599cda 100644 --- a/configure.ac +++ b/configure.ac @@ -212,6 +212,9 @@ fi # default (unless you don't have GLib), because they don't bloat the library # or binaries. +AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_26], [Ignore post-2.26 deprecations]) +AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_26], [Prevent post-2.26 APIs]) + with_glib=yes if test "x$enable_modular_tests" != xno; then