summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-03-15 21:17:34 +0800
committerPo Lu <luangruo@yahoo.com>2023-03-15 21:17:34 +0800
commit4e9e72ea4805d323b1e65fbfa97bbfa9a72d2ee1 (patch)
tree697f1ee9bfa4aca54442870230bd518fee872daf
parent3504c7550d9e2eeeabfe71b5819506ebc7c045b4 (diff)
Update Android port
* configure.ac: Improve portability.
-rw-r--r--configure.ac9
1 files changed, 6 insertions, 3 deletions
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}