diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2018-07-06 17:28:23 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2018-07-06 18:12:16 +0200 |
commit | 9bf4c3228804ad1a7dc19afae4030649fbee30c1 (patch) | |
tree | 38c2366e579f9a33954bd3ab31614d4a454dd216 | |
parent | 204ff1ae2efddb5d7ac7b641fb8f5b2f43dc6ba7 (diff) |
build: Define GLIB_VERSION_MIN_REQUIRED/GLIB_VERSION_MAX_ALLOWED
This is defined for the meson build, but not the autotools build. This
commit makes them consistent.
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
-rw-r--r-- | m4/spice-deps.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4 index 61290fe..1721d34 100644 --- a/m4/spice-deps.m4 +++ b/m4/spice-deps.m4 @@ -183,6 +183,7 @@ AC_DEFUN([SPICE_CHECK_PIXMAN], [ #------------------ AC_DEFUN([SPICE_CHECK_GLIB2], [ PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.38 gio-2.0 >= 2.38 gthread-2.0 >= 2.38) + GLIB2_CFLAGS="$GLIB2_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_38" ]) # SPICE_CHECK_GDK_PIXBUF |