[Spice-devel] [spice-server] fixup! test-vdagent: Make test case more useful
Christophe Fergeau
cfergeau at redhat.com
Mon Feb 6 17:34:44 UTC 2017
---
Hey, sorry, had these uncommitted changes around...
Christophe
configure.ac | 4 ++--
server/tests/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 69afcbf..fd9fbae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,8 +151,8 @@ PKG_CHECK_MODULES([GLIB2], [glib-2.0 >= $GLIB2_REQUIRED gio-2.0 >= $GLIB2_REQUIR
PKG_CHECK_EXISTS([glib-2.0 >= 2.34], have_glib234="yes", have_glib234="no")
dnl disable building of some tests if glib is too old
AS_IF([test x"$have_glib234" = "xyes"], [
- GLIB2_NO_MINVER_CFLAGS="$GLIB2_CFLAGS"
- AC_SUBST([GLIB2_NO_MINVER_CFLAGS])
+ GLIB2_NO_MAXVER_CFLAGS="$GLIB2_CFLAGS"
+ AC_SUBST([GLIB2_NO_MAXVER_CFLAGS])
])
AM_CONDITIONAL([HAVE_GLIB234], [test x"$have_glib234" = "xyes"])
GLIB2_CFLAGS="$GLIB2_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=$GLIB2_ENCODED_VERSION \
diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
index 307fe09..6196676 100644
--- a/server/tests/Makefile.am
+++ b/server/tests/Makefile.am
@@ -70,7 +70,7 @@ check_PROGRAMS += test-vdagent
noinst_PROGRAMS += test-vdagent
test_vdagent_CPPFLAGS = \
$(COMMON_CPPFLAGS) \
- $(GLIB2_NO_MINVER_CFLAGS) \
+ $(GLIB2_NO_MAXVER_CFLAGS) \
$(NULL)
endif
--
2.9.3
More information about the Spice-devel
mailing list