Sync elf.m4 with GCC tree
[deliverable/binutils-gdb.git] / config / unwind_ipinfo.m4
index a1dc6352b6795423b7a8b3a428195195b966c23d..efc79903b771aaca7961217c032acb4a31cc28f2 100644 (file)
@@ -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
This page took 0.025489 seconds and 4 git commands to generate.