mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
49d00f48e8
Sync with GCC 2015-05-13 Eric Botcazou <ebotcazou@adacore.com> * sjlj.m4: New file. 2015-05-04 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * bitfields.m4: Change int to long long, and use bitfields of width 1 instead of 0. 2015-05-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * bitfields.m4: New file. 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> * bootstrap-mpx.mk: New file. 2015-03-25 Uros Bizjak <ubizjak@gmail.com> PR bootstrap/65537 * bootstrap-lto-noplugin.mk: New build configuration. 2014-11-13 Kirill Yukhin <kirill.yukhin@intel.com> * target-posix: New file. 2014-10-27 Tom Tromey <tromey@redhat.com> * gcc-plugin.m4: New file.
13 lines
453 B
Plaintext
13 lines
453 B
Plaintext
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])])])
|