havelib: Fix for Solaris 11 OpenIndiana and Solaris 11 OmniOS.
[gnulib.git] / m4 / sigdescr_np.m4
blobf0f3f979e83395d8282b2b4caefd992ae56562aa
1 # sigdescr_np.m4 serial 1
2 dnl Copyright (C) 2020 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