configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h> before <ucontext.h> to define sigset_t required by...

* configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
	before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
	* configure: Regenerate.

From-SVN: r114614
This commit is contained in:
Roger Sayle 2006-06-13 16:36:40 +00:00 committed by Roger Sayle
parent 572f9e47d3
commit de4fb767a9
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-06-13 Roger Sayle <roger@eyesopen.com>
* configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
* configure: Regenerate.
2006-06-13 Jie Zhang <jie.zhang@analog.com>
* config/bfin/bfin.c (bfin_reorg_loops): Only call recog_memoized ()

1
gcc/configure vendored
View File

@ -12289,6 +12289,7 @@ if test "${gcc_cv_mcontext_underscores+set}" = set; then
else
cat >conftest.$ac_ext <<_ACEOF
#include <sys/signal.h>
#include <ucontext.h>
int main() { mcontext_t m; if (m->ss.srr0) return 0; return 0; }

View File

@ -1348,6 +1348,7 @@ case ${host} in
AC_CACHE_CHECK([whether mcontext_t fields have underscores],
gcc_cv_mcontext_underscores,
AC_COMPILE_IFELSE([
#include <sys/signal.h>
#include <ucontext.h>
int main() { mcontext_t m; if (m->ss.srr0) return 0; return 0; }
],