On Wed, 26 Jan 2022 at 18:36, Zebediah Figura zfigura@codeweavers.com wrote:
Signed-off-by: Zebediah Figura zfigura@codeweavers.com
v2: Actually disable them in the makefile.
Makefile.am | 10 ++++++++++ configure.ac | 9 +++++---- 2 files changed, 15 insertions(+), 4 deletions(-)
If the goal is just to disable the crosstest targets, wouldn't inserting something like
AS_IF([test "x$enable_tests" = "xno"], [CROSSTARGET32=no CROSSTARGET64=no])
before CROSSTARGET32/CROSSTARGET64 are used be a little more straightforward? Alternatively, we could use the existing BUILD_TESTS in Makefile.am and adjust the messages in configure.ac. Note however that the crosstest targets also build the demos, not just the tests.