Commit b9b38620 by Seongbae Park Committed by Seongbae Park

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
parent 0fa8f2bc
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> 2008-01-14 Paolo Carlini <pcarlini@suse.de>
* include/parallel/tree.h: Remove. * include/parallel/tree.h: Remove.
......
...@@ -196,7 +196,8 @@ case "${host}" in ...@@ -196,7 +196,8 @@ case "${host}" in
*-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu) *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \ 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 \ 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' SECTION_FLAGS='-ffunction-sections -fdata-sections'
AC_SUBST(SECTION_FLAGS) AC_SUBST(SECTION_FLAGS)
GLIBCXX_CHECK_COMPILER_FEATURES GLIBCXX_CHECK_COMPILER_FEATURES
...@@ -218,6 +219,18 @@ case "${host}" in ...@@ -218,6 +219,18 @@ case "${host}" in
# For xsputn_2(). # For xsputn_2().
AC_CHECK_HEADERS(sys/uio.h) AC_CHECK_HEADERS(sys/uio.h)
GLIBCXX_CHECK_WRITEV 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*) *-mingw32*)
AC_CHECK_HEADERS([sys/types.h locale.h float.h]) AC_CHECK_HEADERS([sys/types.h locale.h float.h])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment