X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=config%2Funwind_ipinfo.m4;h=efc79903b771aaca7961217c032acb4a31cc28f2;hb=adeab0c5b33fd5f4959fa9a079a5b558f0088ba3;hp=a1dc6352b6795423b7a8b3a428195195b966c23d;hpb=fb2470b8177948516ae1ee639bc42b36212114bc;p=deliverable%2Fbinutils-gdb.git diff --git a/config/unwind_ipinfo.m4 b/config/unwind_ipinfo.m4 index a1dc6352b6..efc79903b7 100644 --- a/config/unwind_ipinfo.m4 +++ b/config/unwind_ipinfo.m4 @@ -22,7 +22,13 @@ AC_DEFUN([GCC_CHECK_UNWIND_GETIPINFO], [ *) have_unwind_getipinfo=yes ;; esac else - have_unwind_getipinfo=yes + # 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([,]) fi if test x$have_unwind_getipinfo = xyes; then