From 9d0b746aaaaf78cfcc18e866e4375ad1de533bc4 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 21 Oct 2004 22:37:37 +0000 Subject: Patch #1048326 Better MT-32 support svn-id: r15635 --- configure | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 5ae821e1b3..d5d3811d19 100755 --- a/configure +++ b/configure @@ -51,6 +51,7 @@ _nasmpath="$PATH" NASMFLAGS="" NASM="" _prefix=/usr/local +_have_x86="" _srcdir=`dirname $0` @@ -659,6 +660,26 @@ EOF esac 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 # @@ -1019,6 +1040,7 @@ cat > config.h << EOF $_def_endianness $_def_align +$_def_x86 $_def_linupy -- cgit v1.2.3