DEVEL15-irix-lacks-sig-t-20090315
authorDerrick Brashear <shadow@dementia.org>
Mon, 16 Mar 2009 03:44:47 +0000 (03:44 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 16 Mar 2009 03:44:47 +0000 (03:44 +0000)
LICENSE IPL10

sig_t is missing on irix

(cherry picked from commit 61dadb6458ec95b5bf4bd4250520453630fbbe4c)

acinclude.m4

index 29e083e..9b4a592 100644 (file)
@@ -323,6 +323,11 @@ 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>])
 COMPILER_HAS_FUNCTION_MACRO
 
 dnl Checks for programs.