diff options
author | Eugene Sandulenko | 2004-10-21 22:37:37 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-10-21 22:37:37 +0000 |
commit | 9d0b746aaaaf78cfcc18e866e4375ad1de533bc4 (patch) | |
tree | f6570ed9ff19e0111704e638c6eec19e0f454f15 /configure | |
parent | 9cb88f1d46388561457f44fb19dbe8d508ba14fc (diff) | |
download | scummvm-rg350-9d0b746aaaaf78cfcc18e866e4375ad1de533bc4.tar.gz scummvm-rg350-9d0b746aaaaf78cfcc18e866e4375ad1de533bc4.tar.bz2 scummvm-rg350-9d0b746aaaaf78cfcc18e866e4375ad1de533bc4.zip |
Patch #1048326 Better MT-32 support
svn-id: r15635
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -51,6 +51,7 @@ _nasmpath="$PATH" NASMFLAGS="" NASM="" _prefix=/usr/local +_have_x86="" _srcdir=`dirname $0` @@ -660,6 +661,26 @@ EOF rm -f tmp_endianness_check$EXEEXT tmp_endianness_check.cpp # + # Check whether we can use x86 asm routines + # + echo_n "Running on x86... " + case $_host_cpu in + i386|i486|i586|i686) + _have_x86=yes + ;; + *) + _have_x86=no + ;; + esac + + if test "$_have_x86" = yes ; then + _def_x86='#define HAVE_X86' + else + _def_x86='#undef HAVE_X86' + fi + echo "$_have_x86" + + # # Check whether memory alignment is required # echo_n "Alignment required... " @@ -1019,6 +1040,7 @@ cat > config.h << EOF $_def_endianness $_def_align +$_def_x86 $_def_linupy |