mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
* configure.ac: Detect renameat2 with gl_CHECK_FUNCS_ANDROID.
This commit is contained in:
parent
15a140a246
commit
c7a2b7d023
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user