diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-02-29 13:09:21 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-02-29 13:09:21 -0500 |
commit | e40399b303cb9b53e24da8122fc8f4f36bdc5d2e (patch) | |
tree | 9bb2103d3e501e956811da7e6d2830350fa8eee1 | |
parent | 6113d37768d42e2b7032b5db59dcd0478cc3a05d (diff) |
Ignore deprecations after 2.26
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 604305b..a9c828d 100644 --- a/configure.ac +++ b/configure.ac @@ -84,7 +84,10 @@ if test "x$enable_coverage" = "xyes"; then fi dnl Check for Glib -PKG_CHECK_MODULES(GLIB, gobject-2.0 >= 2.16 glib-2.0 >= 2.16 gio-2.0) +PKG_CHECK_MODULES(GLIB, gobject-2.0 >= 2.26 glib-2.0 >= 2.26 gio-2.0) +AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_26, [Ignore post 2.26 deprecations]) +AC_DEFINE(GLIB_VERSION_MAX_REQUIRED, GLIB_VERSION_2_26, [Prevent post 2.26 APIs]) + GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` AC_SUBST(GLIB_CFLAGS) |