doc: Update for glibc 2.40.
[gnulib.git] / m4 / sigabbrev_np.m4
blob6b2e664ef18d58c7bc675666f582ac22ddf9b5bc
1 # sigabbrev_np.m4
2 # serial 2
3 dnl Copyright (C) 2020-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 AC_DEFUN([gl_FUNC_SIGABBREV_NP],
10   dnl Persuade glibc <string.h> to declare sigabbrev_np().
11   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
13   AC_REQUIRE([gl_STRING_H_DEFAULTS])
14   AC_CHECK_FUNCS([sigabbrev_np])
15   if test $ac_cv_func_sigabbrev_np = no; then
16     HAVE_SIGABBREV_NP=0
17   fi