DEVEL15-irix-no-sig-t-20090316

LICENSE IPL10

correct the sig_t checking macro


(cherry picked from commit 7815171a8d300d550dd61c2db0f329b19390cf16)
This commit is contained in:
Derrick Brashear 2009-03-16 15:48:32 +00:00
parent f03e6e9767
commit 50a0217397

View File

@ -323,11 +323,13 @@ dnl Various compiler setup.
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_TYPE_SIGNAL
AC_CHECK_TYPE([sig_t], ,
[AC_DEFINE([sig_t], [int],
[Define to int if <signal.h> does not define.])],
[#include <sys/types.h>
#include <signal.h>])
AC_CHECK_TYPES(sig_t, , ,
[#include <sys/types.h>
#include <signal.h> ])
AH_BOTTOM(
[#ifndef HAVE_SIG_T
typedef RETSIGTYPE (*sig_t) ();
#endif])
COMPILER_HAS_FUNCTION_MACRO
dnl Checks for programs.