------- Comment #4 from pinskia at gcc dot gnu dot org 2008-11-28 17:35 -------
(In reply to comment #3)
> This will also match darwin10.
You are correct, in fact it does not set have_unwind_getipinfo to no anyways as
it was being set to yes in the else statement.
Index: unwind_ipinfo.m4
===================================================================
--- unwind_ipinfo.m4 (revision 142255)
+++ unwind_ipinfo.m4 (working copy)
@@ -22,7 +22,11 @@ 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.
+ case ${target} in
+ *-*-darwin[1-8].*) have_unwind_getipinfo=no ;;
+ *) have_unwind_getipinfo=yes ;;
+ esac
fi
if test x$have_unwind_getipinfo = xyes; then
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300