]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix configuring with --enable-checking on non-Android platforms
authorEli Zaretskii <eliz@gnu.org>
Mon, 7 Aug 2023 14:43:33 +0000 (17:43 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 7 Aug 2023 14:43:33 +0000 (17:43 +0300)
* configure.ac (ENABLE_CHECKING): Fix test for --with-android.

configure.ac

index c77fab3eefd0e8e5e19d8fb29cf144541d12c7b8..41df46180784f34e4011322dc0a2cfb376c44819 100644 (file)
@@ -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.])