]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
sig2str: Port to Android API level 36.
authorCollin Funk <collin.funk1@gmail.com>
Sun, 21 Sep 2025 05:45:29 +0000 (22:45 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Sun, 21 Sep 2025 05:45:29 +0000 (22:45 -0700)
* 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.

ChangeLog
doc/posix-functions/sig2str.texi
doc/posix-functions/str2sig.texi
m4/sig2str.m4

index 54414de58cbe2bdd44b9ade3fb536474e7e64543..10b2ec4a6c418d39c47257d08d9464f7c4245eda 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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.
index 4f6b7d1c5066005345f7eaaac56b58cc67a4f8f7..dba8a7abec117f13d618b4fff762f687a4ac808b 100644 (file)
@@ -11,7 +11,7 @@ Portability problems 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:
index ac1a04e9d3757a80b6a3e8b27aa7b082f65eec60..5fa5d70fce848497b0741c32ce7a8f84c90509e4 100644 (file)
@@ -11,7 +11,7 @@ Portability problems 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:
index d49e363f3ae96690f0001e3bfb1a1dc0148b85e4..4f713724bb6a66646a7e1067fce03746e58737ad 100644 (file)
@@ -1,5 +1,5 @@
 # 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,
@@ -9,7 +9,8 @@ dnl This file is offered as-is, without any warranty.
 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