]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Repair --disable-sjlj-exceptions
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 29 Oct 2022 12:12:04 +0000 (14:12 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Sat, 29 Oct 2022 12:12:04 +0000 (14:12 +0200)
It was broken by:

2022-08-31  Martin Liska  <mliska@suse.cz>

config.build: Remove deprecated ports.
config.gcc: Likewise.
config.host: Likewise.
configure.ac: Likewise.
configure: Regenerate.
config/pa/pa-hpux10.h: Removed.
config/pa/pa-hpux10.opt: Removed.
config/pa/t-dce-thr: Removed.

gcc/
* configure.ac (sjlj-exceptions): Restore dropped line.
* configure: Regenerate.

gcc/configure
gcc/configure.ac

index 89e00b79ae2314fea5a64577e8ed10a638021db5..0ee4be40e5551c7600e9a7050b487d0a01b60818 100755 (executable)
@@ -12684,7 +12684,9 @@ objext='.o'
 # With Setjmp/Longjmp based exception handling.
 # Check whether --enable-sjlj-exceptions was given.
 if test "${enable_sjlj_exceptions+set}" = set; then :
-  enableval=$enable_sjlj_exceptions; case $target in
+  enableval=$enable_sjlj_exceptions; force_sjlj_exceptions=yes
+else
+  case $target in
   lm32*-*-*)
      force_sjlj_exceptions=yes
      enableval=yes
@@ -19718,7 +19720,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 19721 "configure"
+#line 19723 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -19824,7 +19826,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 19827 "configure"
+#line 19829 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index eb92a37cd4653e36262f5a5c09ea86a29bae5bbc..4ecccffc32488a8bdd1301e735c9cc6883efb1b5 100644 (file)
@@ -1805,6 +1805,7 @@ AC_SUBST(objext)
 AC_ARG_ENABLE(sjlj-exceptions,
 [AS_HELP_STRING([--enable-sjlj-exceptions],
                 [arrange to use setjmp/longjmp exception handling])],
+[force_sjlj_exceptions=yes],
 [case $target in
   lm32*-*-*)
      force_sjlj_exceptions=yes