[Spice-devel] server: Rename SUPPORT_AUTOMATED_TESTS to HAVE_AUTOMATED_TESTS
Francois Gouget
fgouget at codeweavers.com
Thu Dec 3 09:49:36 PST 2015
This improves consistency with spice-deps.m4 which names its
AM_CONDITIONAL() variables HAVE_XXX.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
configure.ac | 2 +-
server/tests/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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
--
2.6.2
More information about the Spice-devel
mailing list