summaryrefslogtreecommitdiff
path: root/config/unwind_ipinfo.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/unwind_ipinfo.m4')
-rw-r--r--config/unwind_ipinfo.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/config/unwind_ipinfo.m4 b/config/unwind_ipinfo.m4
index a1dc6352b67..efc79903b77 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