diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-02-11 18:15:49 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2001-02-11 18:15:49 +0000 |
commit | 48dbafe4a98239d93121fdc79e0af05b95b3f682 (patch) | |
tree | 81566952f82d63ccedb4d322324ab51879bcd4d6 /libstdc++-v3/configure.in | |
parent | 1796dff4e376661362700bbfb221e470ddf1b9ea (diff) | |
download | gcc-48dbafe4a98239d93121fdc79e0af05b95b3f682.zip gcc-48dbafe4a98239d93121fdc79e0af05b95b3f682.tar.gz gcc-48dbafe4a98239d93121fdc79e0af05b95b3f682.tar.bz2 |
gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
* src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
* mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
* configure.in: Test for sigsetjmp.
* configure, config.h.in: Rebuilt.
From-SVN: r39586
Diffstat (limited to 'libstdc++-v3/configure.in')
-rw-r--r-- | libstdc++-v3/configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/configure.in b/libstdc++-v3/configure.in index 8eef89f..2342ade 100644 --- a/libstdc++-v3/configure.in +++ b/libstdc++-v3/configure.in @@ -217,6 +217,11 @@ else GLIBCPP_CHECK_WCHAR_T_SUPPORT GLIBCPP_CHECK_STDLIB_SUPPORT + 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. ])]) + AC_FUNC_MMAP fi |