Mercurial > hg > octave-nkf
changeset 7237:7e248dd1e6d5
[project @ 2007-12-03 19:52:47 by jwe]
author | jwe |
---|---|
date | Mon, 03 Dec 2007 19:52:47 +0000 |
parents | 3ac12f33cf4b |
children | 22f210ca8cc1 |
files | ChangeLog configure.in src/ChangeLog src/DLD-FUNCTIONS/regexp.cc |
diffstat | 4 files changed, 18 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-03 John W. Eaton <jwe@octave.org> + + * configure.in: If available, include <sys/types.h> in test for + sigset_t and sig_atomic_t. + 2007-11-30 Moritz Borgmann <octave@moriborg.de> * configure.in: Also check for sunmath.h.
--- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.597 $) +AC_REVISION($Revision: 1.598 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -1195,7 +1195,11 @@ AC_TYPE_UID_T AC_CHECK_TYPES([dev_t, ino_t, nlink_t, nlink_t]) AC_CHECK_TYPES([long long int, unsigned long long int]) -AC_CHECK_TYPES([sigset_t, sig_atomic_t], , , [#include <signal.h>]) +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.