|
Packit Service |
a2ae7a |
# raise.m4 serial 4
|
|
Packit Service |
a2ae7a |
dnl Copyright (C) 2011-2019 Free Software Foundation, Inc.
|
|
Packit Service |
a2ae7a |
dnl This file is free software; the Free Software Foundation
|
|
Packit Service |
a2ae7a |
dnl gives unlimited permission to copy and/or distribute it,
|
|
Packit Service |
a2ae7a |
dnl with or without modifications, as long as this notice is preserved.
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
AC_DEFUN([gl_FUNC_RAISE],
|
|
Packit Service |
a2ae7a |
[
|
|
Packit Service |
a2ae7a |
AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
|
|
Packit Service |
a2ae7a |
AC_REQUIRE([AC_CANONICAL_HOST])
|
|
Packit Service |
a2ae7a |
AC_CHECK_FUNCS([raise])
|
|
Packit Service |
a2ae7a |
if test $ac_cv_func_raise = no; then
|
|
Packit Service |
a2ae7a |
HAVE_RAISE=0
|
|
Packit Service |
a2ae7a |
else
|
|
Packit Service |
a2ae7a |
m4_ifdef([gl_MSVC_INVAL], [
|
|
Packit Service |
a2ae7a |
AC_REQUIRE([gl_MSVC_INVAL])
|
|
Packit Service |
a2ae7a |
if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
|
|
Packit Service |
a2ae7a |
REPLACE_RAISE=1
|
|
Packit Service |
a2ae7a |
fi
|
|
Packit Service |
a2ae7a |
])
|
|
Packit Service |
a2ae7a |
m4_ifdef([gl_SIGNALBLOCKING], [
|
|
Packit Service |
a2ae7a |
gl_SIGNALBLOCKING
|
|
Packit Service |
a2ae7a |
if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
|
|
Packit Service |
a2ae7a |
m4_ifdef([gl_SIGNAL_SIGPIPE], [
|
|
Packit Service |
a2ae7a |
gl_SIGNAL_SIGPIPE
|
|
Packit Service |
a2ae7a |
if test $gl_cv_header_signal_h_SIGPIPE != yes; then
|
|
Packit Service |
a2ae7a |
REPLACE_RAISE=1
|
|
Packit Service |
a2ae7a |
fi
|
|
Packit Service |
a2ae7a |
], [:])
|
|
Packit Service |
a2ae7a |
fi
|
|
Packit Service |
a2ae7a |
])
|
|
Packit Service |
a2ae7a |
fi
|
|
Packit Service |
a2ae7a |
])
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
# Prerequisites of lib/raise.c.
|
|
Packit Service |
a2ae7a |
AC_DEFUN([gl_PREREQ_RAISE], [:])
|