mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Port Android build system to Autoconf < 2.70
* m4/ndk-build.m4 (ndk_INIT): Don't suppose that $ac_aux_dir will be terminated with a trailing slash on Autoconf 2.69 and earlier.
This commit is contained in:
parent
04520bfd7e
commit
6a724b3963
1 changed files with 7 additions and 1 deletions
|
|
@ -45,7 +45,13 @@ for file in $with_ndk_path; do
|
|||
done
|
||||
|
||||
AC_REQUIRE_AUX_FILE([ndk-build-helper.mk])
|
||||
ndk_AUX_DIR=$ac_aux_dir
|
||||
m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.70]), [-1],
|
||||
dnl $ac_aux_dir is an internal variable in 2.69 that
|
||||
dnl is not guaranteed to be terminated with a separator character.
|
||||
[AS_CASE([$ac_aux_dir],
|
||||
[*/], [ndk_AUX_DIR=$ac_aux_dir],
|
||||
[ndk_AUX_DIR=$ac_aux_dir/])],
|
||||
[ndk_AUX_DIR=$ac_aux_dir])
|
||||
ndk_ABI=$1
|
||||
ndk_MODULES=
|
||||
ndk_MAKEFILES=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue