xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-m4/sig_atomic_t.m4 (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1# sig_atomic_t.m4 serial 1 (gettext-0.13)
2dnl Copyright (C) 2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_DEFUN([gt_TYPE_SIG_ATOMIC_T],
8[
9  AC_CHECK_TYPES(sig_atomic_t, ,
10    [AC_DEFINE(sig_atomic_t, int,
11       [Define as an integer type suitable for memory locations that can be
12        accessed atomically even in the presence of asynchnonous signals.])],
13    [#include <signal.h>])
14])
15