diff options
author | Bruno Haible <bruno@clisp.org> | 2023-01-22 02:43:23 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-01-22 15:56:20 +0100 |
commit | cb4b0191ce484321121bd5701d271f9d1832958c (patch) | |
tree | a0caecb6527839d261c663203b5142d92ffd5682 /m4/futimens.m4 | |
parent | 307c5c697b42f3e60b6a672d31223585121a464d (diff) | |
download | gnulib-cb4b0191ce484321121bd5701d271f9d1832958c.tar.gz |
Resolve conflicts for functions introduced in Android API level 19.
* m4/futimens.m4 (gl_FUNC_FUTIMENS): Conditionally set REPLACE_FUTIMENS.
* lib/sys_stat.in.h (futimens): Disable _GL_CXXALIASWARN invocation on
non-glibc systems.
Diffstat (limited to 'm4/futimens.m4')
-rw-r--r-- | m4/futimens.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/futimens.m4 b/m4/futimens.m4 index 8e997d6ea6..dc0b21b9d5 100644 --- a/m4/futimens.m4 +++ b/m4/futimens.m4 @@ -1,4 +1,4 @@ -# serial 10 +# serial 11 # See if we need to provide futimens replacement. dnl Copyright (C) 2009-2023 Free Software Foundation, Inc. @@ -16,6 +16,9 @@ AC_DEFUN([gl_FUNC_FUTIMENS], gl_CHECK_FUNCS_ANDROID([futimens], [[#include <sys/stat.h>]]) if test $ac_cv_func_futimens = no; then HAVE_FUTIMENS=0 + case "$gl_cv_onwards_func_futimens" in + future*) REPLACE_FUTIMENS=1 ;; + esac else AC_CACHE_CHECK([whether futimens works], [gl_cv_func_futimens_works], |