]> git.eshelyaron.com Git - emacs.git/commitdiff
Temporarily repair build with Android NDK r10b
authorPo Lu <luangruo@yahoo.com>
Tue, 4 Jun 2024 08:21:58 +0000 (16:21 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Jun 2024 09:07:14 +0000 (11:07 +0200)
* configure.ac (gl_cv_header_working_endian_h): Unconditionally
define to yes on Android.

(cherry picked from commit d3bdf11d808d32de8bee54a14c73f72c834a31bb)

configure.ac

index 9d91e8731b5ce1733ef812776c8e2beb3e391047..c04712502f863111bdcd0cf8e9d2778a600258b6 100644 (file)
@@ -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,