+2024-09-04 Bruno Haible <bruno@clisp.org>
+
+ Resolve conflicts for functions introduced in Android API level 35.
+
+ * m4/strerrorname_np.m4 (gl_CHECK_STRERRORNAME_NP): Test for
+ strerrorname_np using gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS.
+
2024-09-03 Bruno Haible <bruno@clisp.org>
unlockpt tests: Avoid test failure on Haiku.
-# strerrorname_np.m4 serial 5
+# strerrorname_np.m4 serial 5.1
dnl Copyright (C) 2020-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
- AC_CHECK_FUNCS([strerrorname_np])
+ gl_CHECK_FUNCS_ANDROID([strerrorname_np], [[#include <string.h>]])
if test $ac_cv_func_strerrorname_np = yes; then
dnl In glibc 2.32, strerrorname_np returns English error descriptions, not
dnl error names.
esac
else
HAVE_STRERRORNAME_NP=0
+ case "$gl_cv_onwards_func_strerrorname_np" in
+ future*) REPLACE_STRERRORNAME_NP=1 ;;
+ esac
fi
])