server: Rename SUPPORT_AUTOMATED_TESTS to HAVE_AUTOMATED_TESTS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This improves consistency with spice-deps.m4 which names its
AM_CONDITIONAL() variables HAVE_XXX.

Signed-off-by: Francois Gouget <fgouget@xxxxxxxxxxxxxxx>
---
 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
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]