2002-02-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* configure.ac: Fix the test to determine cpu context size.
This commit is contained in:
Joel Sherrill
2002-02-13 14:29:42 +00:00
parent 6953e68e51
commit afb802cd59
4 changed files with 8 additions and 16 deletions

View File

@@ -1,3 +1,7 @@
2002-02-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix the test to determine cpu context size.
2001-02-05 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: Added stamp-h.in.

View File

@@ -32,16 +32,8 @@ AS_IF([test "$HAS_MP" = "yes"],
## The code fragment below had been used in tools/cpu/unix/gensize.c.
## FIXME:
## * The sun-stuff needs to be looked after.
## * The pad very likely is not necessary.
AC_CHECK_SIZEOF([CPU_CONTEXT],[],[
#if defined(__sun__) && defined(__sparc__) && \
defined(__unix__) && defined(__svr4__)
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 3
#undef __STRICT_ANSI__
#endif
#include <stdio.h>
#include <setjmp.h>

View File

@@ -1,3 +1,7 @@
2002-02-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix the test to determine cpu context size.
2001-02-05 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: Added stamp-h.in.

View File

@@ -32,16 +32,8 @@ AS_IF([test "$HAS_MP" = "yes"],
## The code fragment below had been used in tools/cpu/unix/gensize.c.
## FIXME:
## * The sun-stuff needs to be looked after.
## * The pad very likely is not necessary.
AC_CHECK_SIZEOF([CPU_CONTEXT],[],[
#if defined(__sun__) && defined(__sparc__) && \
defined(__unix__) && defined(__svr4__)
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 3
#undef __STRICT_ANSI__
#endif
#include <stdio.h>
#include <setjmp.h>