diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-11-27 16:44:56 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-11-28 09:37:11 +0200 |
commit | 4bf368a0985444ce2b81ccdb15a7265f6ed95bf8 (patch) | |
tree | dc07c4e1205e4062adcb31e90f5905e8ffe024d7 /acinclude.m4 | |
parent | 99fcb3fc0184054383aafbd886ebf5709a7bda75 (diff) | |
download | bluez-4bf368a0985444ce2b81ccdb15a7265f6ed95bf8.tar.gz |
build: Force GLib version check while building in maintainer mode
This will allow to catch up build errors introduced by using GLib API
introduced in newer GLib than minimal required even if building with
newer version.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 5bfa29d41..206585293 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -21,6 +21,8 @@ AC_DEFUN([COMPILER_FLAGS], [ with_cflags="$with_cflags -Wredundant-decls" with_cflags="$with_cflags -Wcast-align" with_cflags="$with_cflags -DG_DISABLE_DEPRECATED" + with_cflags="$with_cflags -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_28" + with_cflags="$with_cflags -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_28" fi AC_SUBST([WARNING_CFLAGS], $with_cflags) ]) |