Fix wrong configure test for abi::__forced_unwind in previous commit.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Sep 2012 23:12:28 +0000 (23:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Sep 2012 23:12:28 +0000 (23:12 +0000)
commit89b3361ec25cf1e6d255b14c7633d8375646e4fb
tree4484460d8e329ae6c41e067676d02e6cb4f5ec54
parente02ea2030c4ee8c2d01c5823e2dc3d1ba7837acf
Fix wrong configure test for abi::__forced_unwind in previous commit.

The previous commit was accidental and contained an initial version of the
patch which didn't test for NPTL abi::__forced_unwind correctly and just
tested whether cxxabi.h header was available.

Tighten the check to work on the other systems and check for __forced_unwind
existence itself.

Also check for cxxabi.h before testing for __cxa_demangle as there is no need
to try to compile another test program if we already know that this entire
header is unavailable anyhow.

See #14626.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
configure
configure.in
setup.h.in
src/unix/threadpsx.cpp