Use AC_TRY_LINK for demangle

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-03-29 08:00:27 +00:00
parent ec8565f3c5
commit dfe0c8037b
2 changed files with 624 additions and 327 deletions

949
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -3870,7 +3870,7 @@ if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
else
AC_CACHE_CHECK([for __cxa_demangle() in <cxxabi.h>], wx_cv_func_cxa_demangle,
[
AC_TRY_COMPILE([#include <cxxabi.h>],
AC_TRY_LINK([#include <cxxabi.h>],
[
int rc;
__cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);