fchmod-tests, fchmodat tests, lchmod tests: Add more tests.
[gnulib.git] / m4 / sigdescr_np.m4
blobf6fa63140c44927ad5439e8aa26b3f8543713afb
1 # sigdescr_np.m4 serial 1
2 dnl Copyright (C) 2020-2021 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_SIGDESCR_NP],
9   dnl Persuade glibc <string.h> to declare sigdescr_np().
10   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
12   AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
13   AC_CHECK_FUNCS([sigdescr_np])
14   if test $ac_cv_func_sigdescr_np = no; then
15     HAVE_SIGDESCR_NP=0
16   fi