From: Eli Zaretskii Date: Mon, 7 Aug 2023 14:43:33 +0000 (+0300) Subject: Fix configuring with --enable-checking on non-Android platforms X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a95253f5cc1105619f6f93585dd41288f93384e4;p=emacs.git Fix configuring with --enable-checking on non-Android platforms * configure.ac (ENABLE_CHECKING): Fix test for --with-android. --- 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.])