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@codeweavers.com>
This commit is contained in:
Francois Gouget 2015-12-03 18:49:36 +01:00 committed by Christophe Fergeau
parent 6e6126e024
commit 9b42aafe31
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -14,7 +14,7 @@ AM_CPPFLAGS = \
$(SPICE_PROTOCOL_CFLAGS) \
$(NULL)
if SUPPORT_AUTOMATED_TESTS
if HAVE_AUTOMATED_TESTS
AM_CPPFLAGS += -DAUTOMATED_TESTS
endif