This is defined for the meson build, but not the autotools build. This commit makes them consistent. Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> --- m4/spice-deps.m4 | 1 + 1 file changed, 1 insertion(+) 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 -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel