changeset 32253:163b9afe4e88

Move ASMALIGN check into x86 section of configure.
author diego
date Tue, 21 Sep 2010 13:51:33 +0000
parents 656ef01dcd16
children 70cdc0575aff
files configure
diffstat 1 files changed, 14 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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'