1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Disable C23 for Android builds

* configure.ac (ac_cv_prog_cc_c23): Define to no when
configuring for Android.
This commit is contained in:
Po Lu 2025-11-21 10:01:10 +08:00
parent 386e4642dc
commit 32fc382e9e

View file

@ -49,6 +49,10 @@ if test "$XCONFIGURE" = "android"; then
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=32"
enable_largefile=no
enable_year2038=no])
# C23 cannot be enabled for Android builds on account of
# incompatibilities in many external dependencies (glib, librsvg,
# etc.) and system headers.
ac_cv_prog_cc_c23=no
fi
dnl Set emacs_config_options to the options of 'configure', quoted for the shell,