From: Simon McVittie Date: Fri, 9 Jun 2017 13:56:16 +0000 (+0100) Subject: Opt-in to deprecation warnings for GLib 2.38 and 2.40 X-Git-Tag: dbus-1.11.14~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ffec5ef16a4fc183f238ad6d891ff1ed76a2b40;p=thirdparty%2Fdbus.git Opt-in to deprecation warnings for GLib 2.38 and 2.40 Now that g_test_trap_fork() has gone, we no longer have any calls to GLib functions deprecated in or before 2.40. Signed-off-by: Simon McVittie Reviewed-by: Philip Withnall Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101362 --- diff --git a/configure.ac b/configure.ac index dcfcb4e81..1561c9418 100644 --- a/configure.ac +++ b/configure.ac @@ -262,7 +262,7 @@ 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_36], [Ignore post-2.36 deprecations]) +AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_40], [Ignore post-2.40 deprecations]) AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_40], [Prevent post-2.40 APIs]) with_glib=yes