1 # strsignal.m4 serial 1
2 dnl Copyright (C) 2008 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_FUNC_STRSIGNAL],
9 dnl Persuade glibc <string.h> to declare strsignal().
10 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
12 AC_REQUIRE([AC_DECL_SYS_SIGLIST])
14 AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
15 AC_REPLACE_FUNCS([strsignal])
16 AC_CHECK_DECLS_ONCE([strsignal])
17 if test $ac_cv_have_decl_strsignal = no; then
23 # Prerequisites of lib/strsignal.c.
24 AC_DEFUN([gl_PREREQ_STRSIGNAL], [:])