changeset 34214:ecb63dcc272c

Define HAVE_YASM etc. not only for x86.
author cehoyos
date Sat, 05 Nov 2011 13:47:51 +0000
parents 7d93d0f72802
children 70e6cffc6bb9
files configure
diffstat 1 files changed, 11 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Nov 04 15:22:51 2011 +0000
+++ b/configure	Sat Nov 05 13:47:51 2011 +0000
@@ -2761,15 +2761,6 @@
     yasm_check || die "yasm not found, use --yasm='' if you really want to compile without"
   fi
 fi
-if test $_yasm ; then
-  def_yasm='#define HAVE_YASM 1'
-  have_yasm="yes"
-  echores "$_yasm"
-else
-  def_yasm='#define HAVE_YASM 0'
-  have_yasm="no"
-  echores "no"
-fi
 
 echocheck "bswap"
 echo 'bswap %eax' > $TMPS
@@ -2783,8 +2774,19 @@
   xmm_clobbers=yes || xmm_clobbers=no
 echores "$xmm_clobbers"
 
+else
+  _yasm=''
 fi #if x86
 
+if test $_yasm ; then
+  def_yasm='#define HAVE_YASM 1'
+  have_yasm="yes"
+  echores "$_yasm"
+else
+  def_yasm='#define HAVE_YASM 0'
+  have_yasm="no"
+  echores "no"
+fi
 
 #FIXME: This should happen before the check for CFLAGS..
 def_altivec_h='#define HAVE_ALTIVEC_H 0'