From 49d00f48e8e3c1331d367785f19c69867a47b4cd Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 14 Jul 2015 08:43:24 -0700 Subject: Sync config files with GCC Sync with GCC 2015-05-13 Eric Botcazou * sjlj.m4: New file. 2015-05-04 Trevor Saunders * bitfields.m4: Change int to long long, and use bitfields of width 1 instead of 0. 2015-05-01 Trevor Saunders * bitfields.m4: New file. 2015-04-14 H.J. Lu * bootstrap-mpx.mk: New file. 2015-03-25 Uros Bizjak PR bootstrap/65537 * bootstrap-lto-noplugin.mk: New build configuration. 2014-11-13 Kirill Yukhin * target-posix: New file. 2014-10-27 Tom Tromey * gcc-plugin.m4: New file. --- config/sjlj.m4 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 config/sjlj.m4 (limited to 'config/sjlj.m4') diff --git a/config/sjlj.m4 b/config/sjlj.m4 new file mode 100644 index 0000000..71c8b31 --- /dev/null +++ b/config/sjlj.m4 @@ -0,0 +1,12 @@ +dnl Check if the compiler is configured for setjmp/longjmp exceptions. +AC_DEFUN([GCC_CHECK_SJLJ_EXCEPTIONS], + [AC_CACHE_CHECK([whether the compiler is configured for setjmp/longjmp exceptions], + ac_cv_sjlj_exceptions, + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#ifdef __USING_SJLJ_EXCEPTIONS__ + this will fail + #endif]], + [[int i;]])], + [ac_cv_sjlj_exceptions=no], + [ac_cv_sjlj_exceptions=yes])])]) -- cgit v1.1