diff options
author | Po Lu <luangruo@yahoo.com> | 2024-02-24 11:09:05 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2024-02-24 11:09:38 +0800 |
commit | c7a2b7d023dfef78f6cb6f00fc8194ce8eaaf8a4 (patch) | |
tree | cbaeb60a74c7062fbb982769d06333a850608514 /configure.ac | |
parent | 15a140a24664e96620838136640d660f842dfa49 (diff) | |
download | emacs-c7a2b7d023dfef78f6cb6f00fc8194ce8eaaf8a4.tar.gz |
* configure.ac: Detect renameat2 with gl_CHECK_FUNCS_ANDROID.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 71a899f5f40..452aa0838f1 100644 --- a/configure.ac +++ b/configure.ac @@ -5907,13 +5907,15 @@ pthread_sigmask strsignal setitimer \ sendto recvfrom getsockname getifaddrs freeifaddrs \ gai_strerror sync \ endpwent getgrent endgrent \ -renameat2 \ cfmakeraw cfsetspeed __executable_start log2 pthread_setname_np \ pthread_set_name_np]) # getpwent is not present in older versions of Android. (bug#65319) gl_CHECK_FUNCS_ANDROID([getpwent], [[#include <pwd.h>]]) +# renameat2 is not present in older versions of Android. +gl_CHECK_FUNCS_ANDROID([renameat2], [[#include <stdio.h>]]) + if test "$ac_cv_func_cfmakeraw" != "yes"; then # On some systems (Android), cfmakeraw is inline, so AC_CHECK_FUNCS # cannot find it. Check if some code including termios.h and using |