From 618950d13a50e2b631f69f6780a26d64072d4192 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Fri, 16 Feb 2018 08:57:21 +0000 Subject: [PATCH] Enable core inlining by default on configure/make build system Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4078 --- configure.ac | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 477ab5b8..89320741 100644 --- a/configure.ac +++ b/configure.ac @@ -240,13 +240,14 @@ AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],[Enable debug mode]),[ ],) AH_TEMPLATE(C_CORE_INLINE,[Define to 1 to use inlined memory functions in cpu core]) -AC_ARG_ENABLE(core-inline,AC_HELP_STRING([--enable-core-inline],[Enable inlined memory handling in CPU Core]),[ - if test x$enable_core_inline = xyes ; then - AC_MSG_RESULT([enabling inlined memory handling in CPU Core]) +AC_ARG_ENABLE(core-inline,AC_HELP_STRING([--disable-core-inline],[Disable inlined memory handling in CPU Core]),,enable_core_inline=yes) +AC_MSG_CHECKING(whether memory handling in the CPU Core will be inlined) +if test x$enable_core_inline = xyes ; then + AC_MSG_RESULT(yes) AC_DEFINE(C_CORE_INLINE,1) - fi -],) - +else + AC_MSG_RESULT(no) +fi dnl The target cpu checks for dynamic cores AH_TEMPLATE(C_TARGETCPU,[The type of cpu this target has])