Revert "emacs-x: avoid system faccessat"

Fixed properly in 369d15f4ef.

This reverts commit b2bef64d90.
This commit is contained in:
Henrik Grimler 2021-11-29 09:14:45 +01:00 committed by Yaksh Bariya
parent 3f01e8c7f9
commit cdf9d42daa
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 0 additions and 16 deletions

View File

@ -47,10 +47,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_lib_elf_elf_begin=no"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" gl_cv_func_dup2_works=no"
# disable setrlimit function to make termux-am work from within emacs
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_setrlimit=no"
# for some reason faccessat calls fails with "invalid argument"
# starting from ndk-r23
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_faccessat=no"
TERMUX_PKG_HOSTBUILD=true
# Remove some irrelevant files:

View File

@ -1,12 +0,0 @@
diff --git a/m4/faccessat.m4 b/m4/faccessat.m4
index 9d6b3635117..ff1f803d405 100644
--- a/m4/faccessat.m4
+++ b/m4/faccessat.m4
@@ -19,6 +19,7 @@ AC_DEFUN([gl_FUNC_FACCESSAT],
AC_CHECK_FUNCS_ONCE([faccessat])
if test $ac_cv_func_faccessat = no; then
HAVE_FACCESSAT=0
+ REPLACE_FACCESSAT=1
else
case $gl_cv_func_lstat_dereferences_slashed_symlink in
*yes) ;;