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