1
0
Fork 0

Added patch 1154355 from Thomas Weidner. Marks memory executable in the dynamic core under 64 bits linux

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2277
This commit is contained in:
Peter Veenstra 2005-08-18 10:51:57 +00:00
parent 4fd29f7d49
commit 47cde6a97e
3 changed files with 27 additions and 0 deletions

View file

@ -244,6 +244,13 @@ else
AC_MSG_WARN([Can't find libSDL_sound, libSDL_sound support disabled])
fi
dnl Check for mprotect. Needed for 64 bits linux
AH_TEMPLATE(C_HAVE_MPROTECT,[Define to 1 if you have the mprotect function])
AC_CHECK_HEADER([sys/mman.h], [
AC_CHECK_FUNC([mprotect],[AC_DEFINE(C_HAVE_MPROTECT,1)])
])
dnl Setpriority
AH_TEMPLATE(C_SET_PRIORITY,[Define to 1 if you have setpriority support])
AC_MSG_CHECKING(for setpriority support)
AC_LINK_IFELSE([