changeset 10248:85d76f689236

assume signal.h provides sigset_t and sig_atomic_t
author John W. Eaton <jwe@octave.org>
date Tue, 02 Feb 2010 16:05:31 -0500
parents edfceeab945a
children 14eba566f9f0
files ChangeLog configure.ac
diffstat 2 files changed, 4 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-02  John W. Eaton  <jwe@octave.org>
+
+	* configure.ac: Assume signal.h provides sigset_t and sig_atomic_t.
+
 2010-02-02  John W. Eaton  <jwe@octave.org>
 
 	* configure.ac: Don't call OCTAVE_SIGNAL_CHECK,
--- a/configure.ac
+++ b/configure.ac
@@ -1412,11 +1412,6 @@
 AC_TYPE_UID_T
 AC_CHECK_TYPES([dev_t, ino_t])
 AC_CHECK_TYPES([long long int, unsigned long long int])
-AC_CHECK_TYPES([sigset_t, sig_atomic_t], , , [
-#if defined (HAVE_SYS_TYPES_H)
-#include <sys/types.h>
-#endif
-#include <signal.h>])
 
 ### How big are ints and how are they oriented?  These could probably
 ### be eliminated in favor of run-time checks.
@@ -1888,14 +1883,6 @@
 typedef unsigned long ino_t;
 #endif
 
-#if !defined(HAVE_SIGSET_T)
-typedef int sigset_t;
-#endif
-
-#if !defined(HAVE_SIG_ATOMIC_T)
-typedef int sig_atomic_t;
-#endif
-
 #if defined (_MSC_VER)
 #define __WIN32__
 #define WIN32