summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-09-21 13:51:33 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:18:07 +0200
commit6939bd8c9c9dcc54edcc7a8c0818daa2c7cb0c5b (patch)
treed2fce5124d345262ad930420afc23b13fd516745 /configure
parent1cf83abdad5be93abbed6b1ebe014c13cdb7fb15 (diff)
downloadmpv-6939bd8c9c9dcc54edcc7a8c0818daa2c7cb0c5b.tar.bz2
mpv-6939bd8c9c9dcc54edcc7a8c0818daa2c7cb0c5b.tar.xz
configure: Move ASMALIGN check into x86 section
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32337 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure26
1 files changed, 14 insertions, 12 deletions
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'