http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #14 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-25
14:11:38 UTC ---
Can we enhance the section in config/unwind_ipinfo.m4...
# Darwin before version 9 does not have _Unwind_GetIPInfo.
changequote(,)
case ${target} in
*-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
*) have_unwind_getipinfo=yes ;;
esac
changequote([,])
with a new case instance of *-*-darwin9* that tests..
AC_TRY_COMPILE([,[_Unwind_GetIPInfo();].
[gcc_cv_getipinfo=yes],
[gcc_cv_getipinfo=no])
in order to decided if _Unwind_GetIPInfo is available?