From 036ee85e3f70cbc571f106b5e3ca4e665a0dc210 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 4 Jun 2024 16:21:58 +0800 Subject: [PATCH] Temporarily repair build with Android NDK r10b * configure.ac (gl_cv_header_working_endian_h): Unconditionally define to yes on Android. (cherry picked from commit d3bdf11d808d32de8bee54a14c73f72c834a31bb) --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 9d91e8731b5..c04712502f8 100644 --- a/configure.ac +++ b/configure.ac @@ -49,6 +49,12 @@ if test "$XCONFIGURE" = "android"; then CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=32" enable_largefile=no enable_year2038=no]) + # Further, endian.h is not guaranteed to define every function that + # Gnulib seeks to replace, but Gnulib tests are not prepared for + # such versions of endian.h as only define a subset of the functions + # whose presence it tests. Force such tests to succeed as a stopgap + # measure. + gl_cv_header_working_endian_h=yes fi dnl Set emacs_config_options to the options of 'configure', quoted for the shell, -- 2.39.2