Differences From Artifact [4154425995]:
- File
configure.ac
— part of check-in
[0f6937eba9]
at
2018-04-08 22:36:44
on branch trunk
— configure: Make sure -lpsplibc comes after -lgcc
This is necessary now as configure checks for _Unwind_RaiseException()
now. (user: js, size: 43321) [annotate] [blame] [check-ins using]
To Artifact [c131f77569]:
- File configure.ac — part of check-in [aff869a6f3] at 2018-04-14 13:18:46 on branch trunk — configure: Check for _Unwind_SjLj_RaiseException (user: js, size: 43404) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 | exception_type="SjLj" ]) AS_IF([$EGREP __gnu_objc_personality_seh0 \ conftest.$ac_objext >/dev/null], [ exception_type="SEH" ]) case "$exception_type" in DWARF) AC_DEFINE(HAVE_DWARF_EXCEPTIONS, 1, [Whether DWARF exceptions are used]) ;; SjLj) AC_DEFINE(HAVE_SJLJ_EXCEPTIONS, 1, [Whether SjLj exceptions are used]) ;; SEH) AC_DEFINE(HAVE_SEH_EXCEPTIONS, 1, [Whether SEH exceptions are used]) ;; *) AC_MSG_RESULT(unknown) AC_MSG_ERROR([Exception type not detected!]) ;; esac AC_MSG_RESULT($exception_type) ], [ AC_MSG_RESULT(exceptions unavailable!) AC_MSG_ERROR([Exceptions not accepted by compiler!]) ]) | > > > | | | 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | exception_type="SjLj" ]) AS_IF([$EGREP __gnu_objc_personality_seh0 \ conftest.$ac_objext >/dev/null], [ exception_type="SEH" ]) raise_exception="_Unwind_RaiseException" case "$exception_type" in DWARF) AC_DEFINE(HAVE_DWARF_EXCEPTIONS, 1, [Whether DWARF exceptions are used]) ;; SjLj) AC_DEFINE(HAVE_SJLJ_EXCEPTIONS, 1, [Whether SjLj exceptions are used]) raise_exception="_Unwind_SjLj_RaiseException" ;; SEH) AC_DEFINE(HAVE_SEH_EXCEPTIONS, 1, [Whether SEH exceptions are used]) ;; *) AC_MSG_RESULT(unknown) AC_MSG_ERROR([Exception type not detected!]) ;; esac AC_MSG_RESULT($exception_type) ], [ AC_MSG_RESULT(exceptions unavailable!) AC_MSG_ERROR([Exceptions not accepted by compiler!]) ]) AC_CHECK_FUNC($raise_exception, [], [ AC_CHECK_LIB(c++, $raise_exception, [ LIBS="-lc++ -lc++abi -lpthread $LIBS" ], [ AC_MSG_ERROR([_Unwind_RaiseException missing!]) ], [-lc++abi -lpthread]) ]) AC_CHECK_FUNCS(_Unwind_GetDataRelBase _Unwind_GetTextRelBase) |
︙ | ︙ |