diff options
author | Eric Anholt <eric@anholt.net> | 2013-08-06 12:24:32 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-08-06 12:30:15 +0200 |
commit | ace15af45341b3f2c6460f6165fa68b77b58eddf (patch) | |
tree | 48321112f39c2f29c4f41c7b294a0e48805501b7 | |
parent | be8c9c382d2d1d37b51d29b0843045121ec90213 (diff) |
Avoid build warnings (errors) from GLib deprecation warnings with newer GLib.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56852
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62886
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 24a346f..150bda6 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,10 @@ AS_AC_EXPAND(DAEMON_USER, $with_user) CFLAGS="$CFLAGS -g -Wall -Werror -Wno-format" +# Tell GLib not to whine about us being written against an older set +# of GLib API, since we want to be able to build against any GLib. +CFLAGS="$CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26" + GTK_DOC_CHECK([1.6]) # TODO: add --with-xsltproc argument to override PATH AC_CHECK_PROGS(XSLT, xsltproc) |