From 13c8ee8e952e2f6d1243d779eaa87801f9965bb1 Mon Sep 17 00:00:00 2001 From: stephena Date: Sat, 16 Apr 2011 23:39:31 +0000 Subject: [PATCH] Thumb ARM support can now be enabled/disabled from the configure script for Linux. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2216 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- configure | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configure b/configure index e5d4882be..1cbb92445 100755 --- a/configure +++ b/configure @@ -26,6 +26,7 @@ _build_debugger=yes _build_snapshot=yes _build_joystick=yes _build_cheats=yes +_build_thumb=yes _build_static=no _build_profile=no @@ -233,6 +234,8 @@ for ac_option in $@; do --disable-joystick) _build_joystick=no ;; --enable-cheats) _build_cheats=yes ;; --disable-cheats) _build_cheats=no ;; + --enable-thumb) _build_thumb=yes ;; + --disable-thumb) _build_thumb=no ;; --enable-shared) _build_static=no ;; --enable-static) _build_static=yes ;; --disable-static) _build_static=no ;; @@ -635,6 +638,14 @@ else echo fi +if test "$_build_thumb" = yes ; then + echo_n " Thumb ARM emulation support enabled" + echo +else + echo_n " Thumb ARM emulation support disabled" + echo +fi + if test "$_build_static" = yes ; then echo_n " Static binary enabled" echo @@ -769,6 +780,10 @@ if test "$_build_cheats" = yes ; then INCLUDES="$INCLUDES -I$CHEAT" fi +if test "$_build_thumb" = yes ; then + DEFINES="$DEFINES -DTHUMB_SUPPORT" +fi + if test "$_build_profile" = no ; then _build_profile= fi