File: sjlj.m4

package info (click to toggle)
gdb 7.12-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 216,152 kB
  • ctags: 304,881
  • sloc: ansic: 2,141,328; asm: 331,662; exp: 133,348; makefile: 57,698; sh: 23,586; yacc: 14,054; cpp: 12,262; perl: 5,300; python: 4,685; ada: 4,343; xml: 3,670; pascal: 3,120; lisp: 1,516; cs: 879; lex: 624; f90: 457; sed: 228; awk: 142; objc: 134; java: 73; fortran: 43
file content (12 lines) | stat: -rw-r--r-- 453 bytes parent folder | download | duplicates (64)
1
2
3
4
5
6
7
8
9
10
11
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])])])