From Abdulaziz Ghuloum. Adds special case for Snow Leopard.

This commit is contained in:
Anthony Green
2009-10-05 00:16:17 -04:00
parent 3425a763bc
commit e4a91de766
3 changed files with 40 additions and 0 deletions

View File

@@ -273,6 +273,14 @@ if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64
fi
fi
case "$target" in
i?86-apple-darwin10*)
AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
[Cannot use malloc on this target, so, we revert to
alternative means])
;;
esac
AC_CACHE_CHECK([whether .eh_frame section should be read-only],
libffi_cv_ro_eh_frame, [
libffi_cv_ro_eh_frame=no