Temporarily repair build with Android NDK r10b
authorPo Lu <luangruo@yahoo.com>
Tue, 4 Jun 2024 08:21:58 +0000 (16:21 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 4 Jun 2024 08:21:58 +0000 (16:21 +0800)
* configure.ac (gl_cv_header_working_endian_h): Unconditionally
define to yes on Android.

configure.ac

index e3213f4ac7965a12012d791b9eb2b4ffb43a1bfd..369c9005c61c10ceb4d89eb3dfc3bbaf4dd153bc 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,