mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 06:14:10 +08:00
crossconfig.m4: Add missing header checks, C99 TR1 check, and sigsetjmp check.
2008-01-14 Seongbae Park <seongbae.park@gmail.com> * crossconfig.m4: Add missing header checks, C99 TR1 check, and sigsetjmp check. From-SVN: r131537
This commit is contained in:
parent
0fa8f2bcd4
commit
b9b38620f0
@ -1,3 +1,8 @@
|
||||
2008-01-14 Seongbae Park <seongbae.park@gmail.com>
|
||||
|
||||
* crossconfig.m4: Add missing header checks, C99 TR1 check,
|
||||
and sigsetjmp check.
|
||||
|
||||
2008-01-14 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/parallel/tree.h: Remove.
|
||||
|
@ -196,7 +196,8 @@ case "${host}" in
|
||||
*-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
|
||||
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
|
||||
machine/endian.h machine/param.h sys/machine.h sys/types.h \
|
||||
fp.h float.h endian.h inttypes.h locale.h float.h stdint.h])
|
||||
fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
|
||||
sys/ipc.h sys/sem.h gconf.h])
|
||||
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
||||
AC_SUBST(SECTION_FLAGS)
|
||||
GLIBCXX_CHECK_COMPILER_FEATURES
|
||||
@ -218,6 +219,18 @@ case "${host}" in
|
||||
# For xsputn_2().
|
||||
AC_CHECK_HEADERS(sys/uio.h)
|
||||
GLIBCXX_CHECK_WRITEV
|
||||
|
||||
# For C99 support to TR1.
|
||||
GLIBCXX_CHECK_C99_TR1
|
||||
|
||||
# Check for sigsetjmp
|
||||
AC_TRY_COMPILE(
|
||||
[#include <setjmp.h>],
|
||||
[sigjmp_buf env;
|
||||
while (! sigsetjmp (env, 1))
|
||||
siglongjmp (env, 1);
|
||||
],
|
||||
[AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available.])])
|
||||
;;
|
||||
*-mingw32*)
|
||||
AC_CHECK_HEADERS([sys/types.h locale.h float.h])
|
||||
|
Loading…
Reference in New Issue
Block a user