+2020-09-27 Bruno Haible <bruno@clisp.org>
+
+ Avoid "warning: The macro `AC_DECL_SYS_SIGLIST' is obsolete".
+ Reported by Gavin Smith <gavinsmith0123@gmail.com> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2020-09/msg00154.html>.
+ * m4/strsignal.m4 (gl_PREREQ_STRSIGNAL): Check for sys_siglist
+ ourselves; don't use AC_DECL_SYS_SIGLIST.
+
2020-09-27 Bruno Haible <bruno@clisp.org>
Avoid "warning: The macro `_AC_COMPUTE_INT' is obsolete".
-# strsignal.m4 serial 8
+# strsignal.m4 serial 9
dnl Copyright (C) 2008-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Prerequisites of lib/strsignal.c.
AC_DEFUN([gl_PREREQ_STRSIGNAL], [
AC_CHECK_HEADERS_ONCE([unistd.h])
- AC_REQUIRE([AC_DECL_SYS_SIGLIST])
+ AC_CHECK_DECLS([sys_siglist], [], [], [[#include <signal.h>]])
AC_CHECK_DECLS([_sys_siglist], [], [], [[#include <signal.h>]])
])