summaryrefslogtreecommitdiff
path: root/m4/fatal-signal.m4
blob: c188b14395887275b381faedd0f1b3981c1f1868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# fatal-signal.m4 serial 4
dnl Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

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