# HG changeset patch # User diego # Date 1285077093 0 # Node ID 163b9afe4e881aa57040facfb85fa605e2e12a5e # Parent 656ef01dcd165dbbb155e6229dd75605f3c5df3e Move ASMALIGN check into x86 section of configure. diff -r 656ef01dcd16 -r 163b9afe4e88 configure --- a/configure Tue Sep 21 13:22:48 2010 +0000 +++ b/configure Tue Sep 21 13:51:33 2010 +0000 @@ -2638,18 +2638,6 @@ 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" def_pic='#define CONFIG_PIC 0' @@ -2668,6 +2656,20 @@ 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'