From 99fba2c42aac9edb23f2848e8378cf9138b25a16 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Sat, 26 Dec 2009 18:49:55 +0000 Subject: configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets. 2009-12-26 Andreas Tobler * configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets. * configure: Regenerate. * fficonfig.h.in: Likewise. * src/closures.c: Remove the FFI_MMAP_EXEC_WRIT definition for Solaris/x86. From-SVN: r155475 --- libffi/configure | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libffi/configure') diff --git a/libffi/configure b/libffi/configure index f8456c9..aa40a01 100755 --- a/libffi/configure +++ b/libffi/configure @@ -12405,6 +12405,14 @@ $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h fi fi +case "$target" in + *-apple-darwin10* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*) + +$as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h + + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; } if test "${libffi_cv_ro_eh_frame+set}" = set; then : -- cgit v1.1