summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-01-26 22:11:04 +0800
committerPo Lu <luangruo@yahoo.com>2023-01-26 22:11:04 +0800
commitb0e7ae6d5b68a56da40256c395141f071172a622 (patch)
treef754ea796e34235be911acb338cbd29db8f03fc6 /m4
parent22f7ad1057e1a1e20933e0a1ff2a858ecd9e3fec (diff)
downloademacs-b0e7ae6d5b68a56da40256c395141f071172a622.tar.gz
Update Android port
* INSTALL.android: Describe that apksigner is also required. * configure.ac: Correctly add cross/Makefile to SUBDIR_MAKEFILES. * cross/Makefile.in: (config.status): Depend on $(top_srcdir)/config.status. * doc/emacs/input.texi (On-Screen Keyboards): Document how to quit without a physical keyboard. * java/org/gnu/emacs/EmacsNative.java (EmacsNative): New function `quit'. * java/org/gnu/emacs/EmacsWindow.java (EmacsWindow): New field `lastVolumeButtonPress'. (onKeyDown): Quit if necessary. * m4/ndk-build.m4 (ndk_where_cc): Fix search if CC is not a single word. * src/android.c (android_open): Remove unused variable. (quit): New function. * src/androidmenu.c (android_process_events_for_menu): Allow quitting the menu. * src/xterm.c (handle_one_xevent, x_term_init, syms_of_xterm): Implement features described above, so they work on free operating systems. * src/xterm.h (struct x_display_info): New fields `quit_keysym', `quit_keysym_time'.
Diffstat (limited to 'm4')
-rw-r--r--m4/ndk-build.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ndk-build.m4 b/m4/ndk-build.m4
index bcfe0fed6fe..0ab6197d735 100644
--- a/m4/ndk-build.m4
+++ b/m4/ndk-build.m4
@@ -166,7 +166,7 @@ that could not be found in the list of directories specified in \
}
# Look for a suitable ar in the same directory as the C compiler.
-ndk_where_cc=$(which $CC)
+ndk_where_cc=$(which $(echo "$CC" | awk -- "{ print \[$]1 }"))
ndk_ar_search_path=$PATH
# First, try to find $host_alias-ar in PATH.