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