From: Po Lu Date: Wed, 15 Mar 2023 13:17:34 +0000 (+0800) Subject: Update Android port X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e9e72ea4805d323b1e65fbfa97bbfa9a72d2ee1;p=emacs.git Update Android port * configure.ac: Improve portability. --- diff --git a/configure.ac b/configure.ac index cc3ae1af82f..0282aa0c201 100644 --- a/configure.ac +++ b/configure.ac @@ -1179,7 +1179,7 @@ package will likely install on older systems but crash on startup.]) android_ndk_path="$with_ndk_path" \ android_ndk_cxx_shared="$with_ndk_cxx_shared" \ android_ndk_cxx="$android_ndk_cxx" \ - $0 $passthrough], [], + $CONFIG_SHELL $0 $passthrough], [], [AC_MSG_ERROR([Failed to cross-configure Emacs for android.])]) # Now set ANDROID to yes. @@ -7527,9 +7527,12 @@ done AC_DEFINE_UNQUOTED([EMACS_CONFIG_FEATURES], ["${emacs_config_features}"], [Summary of some of the main features enabled by configure.]) +# This is just a printable representation of the shared user ID. +android_shared_user= +AS_IF([test -n "$with_shared_user_id"],[android_shared_user="($with_shared_user_id)"]) + AS_ECHO([" Does Emacs use -lXaw3d? ${HAVE_XAW3D} - Is Emacs being built for Android? ${ANDROID}\ -`AS_IF([test -n "$with_shared_user_id"],[AS_ECHO([" ($with_shared_user_id)"])])` + Is Emacs being built for Android? ${ANDROID} ${android_shared_user} Does Emacs use the X Double Buffer Extension? ${HAVE_XDBE} Does Emacs use -lXpm? ${HAVE_XPM} Does Emacs use -ljpeg? ${HAVE_JPEG}