http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #18 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-25 17:56:54 UTC --- (In reply to comment #17) Are you sure? I see... if test -n "${with_target_subdir}"; then GCC_CHECK_UNWIND_GETIPINFO else AC_CHECK_FUNC(_Unwind_GetIPInfo, [have_unwind_getipinfo=yes], [have_unwind_getipinfo=no]) if test "$have_unwind_getipinfo" = "yes"; then AC_DEFINE(HAVE_GETIPINFO, 1, [Define if _Unwind_GetIPInfo is available.]) fi fi in libbacktrace/configure.ac and it seems that GCC_CHECK_UNWIND_GETIPINFO is only defined in config/unwind_ipinfo.m4. If so this is no longer a compile or link test but decided by target only (see r141804).