[Spice-commits] configure.ac server/tests

Christophe Fergau teuf at kemper.freedesktop.org
Tue Dec 8 06:49:55 PST 2015


 configure.ac             |    2 +-
 server/tests/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9b42aafe31b3c0c6c2a08de8ab620893b9c9d769
Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Dec 3 18:49:36 2015 +0100

    server: Rename SUPPORT_AUTOMATED_TESTS to HAVE_AUTOMATED_TESTS
    
    This improves consistency with spice-deps.m4 which names its
    AM_CONDITIONAL() variables HAVE_XXX.
    
    Signed-off-by: Francois Gouget <fgouget at codeweavers.com>

diff --git a/configure.ac b/configure.ac
index 736bc2b..907a275 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ AC_ARG_ENABLE([automated_tests],
               AS_HELP_STRING([--enable-automated-tests], [Enable automated tests using spicy-screenshot (part of spice--gtk)]),,
               [enable_automated_tests="no"])
 AS_IF([test x"$enable_automated_tests" != "xno"], [enable_automated_tests="yes"])
-AM_CONDITIONAL(SUPPORT_AUTOMATED_TESTS, test "x$enable_automated_tests" != "xno")
+AM_CONDITIONAL(HAVE_AUTOMATED_TESTS, test "x$enable_automated_tests" != "xno")
 
 SPICE_CHECK_LZ4
 
diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
index 96eb39c..b398fe4 100644
--- a/server/tests/Makefile.am
+++ b/server/tests/Makefile.am
@@ -14,7 +14,7 @@ AM_CPPFLAGS =					\
 	$(SPICE_PROTOCOL_CFLAGS)		\
 	$(NULL)
 
-if SUPPORT_AUTOMATED_TESTS
+if HAVE_AUTOMATED_TESTS
 AM_CPPFLAGS += -DAUTOMATED_TESTS
 endif
 


More information about the Spice-commits mailing list