diff options
author | Richard Henderson <rth@redhat.com> | 2001-03-27 21:24:24 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-03-27 21:24:24 -0800 |
commit | 531073e70e23f5faa6a88240b5cd73e4df3202d6 (patch) | |
tree | bb2aa76dca055c2e46eabf6e73ba0e455926a762 /gcc/configure.in | |
parent | 979988f32cd329b479079a32a12445f53125108d (diff) | |
download | gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.zip gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.tar.gz gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.tar.bz2 |
Make -fsjlj-exceptions a configure option.
From-SVN: r40905
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index f229436..910bf3e 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1666,6 +1666,13 @@ else fi AC_SUBST(MAINT)dnl +# With Setjmp/Longjmp based exception handling. +AC_ARG_ENABLE(sjlj-exceptions, +[ --enable-sjlj-exceptions arrange to use setjmp/longjmp exception handling.], +[sjlj=`if test $enableval = yes; then echo 1; else echo 0; fi` +AC_DEFINE_UNQUOTED(CONFIG_SJLJ_EXCEPTIONS, $sjlj, + [Define 0/1 to force the choice for exception handling model.])]) + # Make empty files to contain the specs and options for each language. # Then add #include lines to for a compiler that has specs and/or options. |