Resolve conflicts for functions introduced in Android API level 28.
+ * m4/aligned_alloc.m4 (gl_FUNC_ALIGNED_ALLOC): Conditionally set
+ REPLACE_ALIGNED_ALLOC.
+ * m4/getrandom.m4 (gl_FUNC_GETRANDOM): Conditionally set
+ REPLACE_GETRANDOM.
+
* m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R): Conditionally set
REPLACE_GETLOGIN_R.
* lib/unistd.in.h (getlogin_r): Disable _GL_CXXALIASWARN invocation on
-# aligned_alloc.m4 serial 4
+# aligned_alloc.m4 serial 5
dnl Copyright (C) 2020-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
else
dnl The system does not have aligned_alloc.
HAVE_ALIGNED_ALLOC=0
+ case "$gl_cv_onwards_func_aligned_alloc" in
+ future*) REPLACE_ALIGNED_ALLOC=1 ;;
+ esac
fi
])
-# getrandom.m4 serial 10
+# getrandom.m4 serial 11
dnl Copyright 2020-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
]])
if test "$ac_cv_func_getrandom" != yes; then
HAVE_GETRANDOM=0
+ case "$gl_cv_onwards_func_getrandom" in
+ future*) REPLACE_GETRANDOM=1 ;;
+ esac
else
dnl On Solaris 11.4 the return type is 'int', not 'ssize_t'.
AC_CACHE_CHECK([whether getrandom is compatible with its GNU+BSD signature],