2025-09-20 Collin Funk <collin.funk1@gmail.com>
+ sig2str: Port to Android API level 36.
+ * m4/sig2str.m4 (gl_FUNC_SIG2STR): Use gl_CHECK_FUNCS_ANDROID to check
+ for sig2str and str2sig instead of AC_CHECK_FUNCS.
+ * doc/posix-functions/sig2str.texi: Document that the function is
+ missing on Android API 35 and lower.
+ * doc/posix-functions/str2sig.texi: Likewise.
+
qsort_r: Port to Android API level 36.
* m4/qsort_r.m4 (gl_FUNC_QSORT_R): Use gl_CHECK_FUNCS_ANDROID to check
for qsort_r instead of AC_CHECK_FUNCS_ONCE.
@itemize
@item
This function is missing on many platforms:
-glibc 2.42, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX 7.3.1, HP-UX 11.31, Cygwin 3.2.x, mingw, MSVC 14, Android 9.0.
+glibc 2.42, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX 7.3.1, HP-UX 11.31, Cygwin 3.2.x, mingw, MSVC 14, Android API level 35.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on many platforms:
-glibc 2.42, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX 7.3.1, HP-UX 11.31, Cygwin 3.2.x, mingw, MSVC 14, Android 9.0.
+glibc 2.42, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX 7.3.1, HP-UX 11.31, Cygwin 3.2.x, mingw, MSVC 14, Android API level 35.
@end itemize
Portability problems not fixed by Gnulib:
# sig2str.m4
-# serial 8
+# serial 9
dnl Copyright (C) 2002, 2005-2006, 2009-2025 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_DEFUN([gl_FUNC_SIG2STR],
[
AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
- AC_CHECK_FUNCS([sig2str str2sig])
+ gl_CHECK_FUNCS_ANDROID([sig2str], [[#include <signal.h>]])
+ gl_CHECK_FUNCS_ANDROID([str2sig], [[#include <signal.h>]])
if test $ac_cv_func_sig2str = no; then
HAVE_SIG2STR=0
fi