From 6939bd8c9c9dcc54edcc7a8c0818daa2c7cb0c5b Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 21 Sep 2010 13:51:33 +0000 Subject: configure: Move ASMALIGN check into x86 section git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32337 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 8a10367c7c..e053de8f2a 100755 --- a/configure +++ b/configure @@ -2522,18 +2522,6 @@ if x86_32 ; then fi #if x86_32 -echocheck ".align is a power of two" -if test "$_asmalign_pot" = auto ; then -_asmalign_pot=no -inline_asm_check '".align 3"' && _asmalign_pot=yes -fi -if test "$_asmalign_pot" = "yes" ; then - def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"' -else - def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\n\t"' -fi -echores $_asmalign_pot - echocheck "PIC" pic=no @@ -2550,6 +2538,20 @@ echores $pic if x86 ; then + +echocheck ".align is a power of two" +if test "$_asmalign_pot" = auto ; then +_asmalign_pot=no +inline_asm_check '".align 3"' && _asmalign_pot=yes +fi +if test "$_asmalign_pot" = "yes" ; then + def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"' +else + def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\n\t"' +fi +echores $_asmalign_pot + + echocheck "10 assembler operands" ten_operands=no def_ten_operands='#define HAVE_TEN_OPERANDS 0' -- cgit v1.2.3