summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-02-22 10:57:33 +0800
committerPo Lu <luangruo@yahoo.com>2023-02-22 11:01:44 +0800
commit137bdaced6a7c39063cebb5f7c12195438495c52 (patch)
tree16160cad2f99c6847b5d133b8b0826d5ca010e3e /m4
parenta892c0487a6391e9d35296b2b4168318a7ca622f (diff)
downloademacs-137bdaced6a7c39063cebb5f7c12195438495c52.tar.gz
Update Android port
* INSTALL.android: Port to MIPS. * configure.ac (modules): Default to ifavailable. Write actual test for __attribute__((cleanup)). * m4/ndk-build.m4: Recognize mips and mips64. * src/emacs-module.c: Remove broken HAS_ATTRIBUTE test.
Diffstat (limited to 'm4')
-rw-r--r--m4/ndk-build.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/ndk-build.m4 b/m4/ndk-build.m4
index 876c980ebb5..e1e4115ffca 100644
--- a/m4/ndk-build.m4
+++ b/m4/ndk-build.m4
@@ -66,6 +66,12 @@ case "$ndk_ABI" in
*x86* )
ndk_ARCH=x86
;;
+ *mips64* )
+ ndk_ARCH=mips64
+ ;;
+ *mips* )
+ ndk_ARCH=mips
+ ;;
* )
AC_MSG_ERROR([Failed to determine Android device architecture])
;;