aboutsummaryrefslogtreecommitdiff
path: root/config/unwind_ipinfo.m4
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gmail.com>2008-12-21 14:27:18 -0800
committerAndrew Pinski <pinskia@gcc.gnu.org>2008-12-21 14:27:18 -0800
commita0e02041176af1cbba5b0fb0ca030c8a86d96627 (patch)
treeb149ae7e459133e8a30ad11564f10f145ba80cba /config/unwind_ipinfo.m4
parent19ce9ba0a2dd343020f9b7c2f32da0071b1f8b24 (diff)
Index...
Index: config/ChangeLog +2008-12-21 Andrew Pinski <pinskia@gmail.com> + + PR target/38300 + * unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo. + Index: gcc/ChangeLog +2008-12-21 Andrew Pinski <pinskia@gmail.com> + + PR target/38300 + * configure: Regenerate. Index: libstdc++-v3/ChangeLog +2008-12-21 Andrew Pinski <pinskia@gmail.com> + + PR target/38300 + * configure: Regenerate. + Index: libjava/ChangeLog +2008-12-21 Andrew Pinski <pinskia@gmail.com> + + PR target/38300 + * configure: Regenerate. From-SVN: r142877
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