view m4/fatal-signal.m4 @ 5537:0fc3beabfb42

Portability fix: Don't assume sigaction(). (mingw doesn't have it.)
author Bruno Haible <bruno@clisp.org>
date Sat, 18 Dec 2004 18:27:48 +0000
parents 83d8d561903a
children adff74659d81
line wrap: on
line source

# fatal-signal.m4 serial 3
dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License.  As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.

AC_DEFUN([gl_FATAL_SIGNAL],
[
  AC_REQUIRE([gt_SIGNALBLOCKING])
  AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T])
  AC_CHECK_HEADERS_ONCE(unistd.h)
  AC_CHECK_FUNCS(raise sigaction)
])