From a95253f5cc1105619f6f93585dd41288f93384e4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 7 Aug 2023 17:43:33 +0300 Subject: [PATCH] Fix configuring with --enable-checking on non-Android platforms * configure.ac (ENABLE_CHECKING): Fix test for --with-android. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c77fab3eefd..41df4618078 100644 --- a/configure.ac +++ b/configure.ac @@ -723,7 +723,7 @@ AS_IF([test "x$XCONFIGURE" = "xandroid" \ # There is little point in enabling checking in the build machine if # cross-compiling for Android. -AS_IF([test -z "$with_android" || test -n "$XCONFIGURE"],[ +AS_IF([test "$with_android" = no || test -n "$XCONFIGURE"],[ if test x$ac_enable_checking != x ; then AC_DEFINE([ENABLE_CHECKING], [1], [Define to 1 if expensive run-time data type and consistency checks are enabled.]) -- 2.39.5