# HG changeset patch # User cehoyos # Date 1320500871 0 # Node ID ecb63dcc272c64475e85d196d067aa1eca6268d8 # Parent 7d93d0f728029a677d34370b7428d4eb5a328114 Define HAVE_YASM etc. not only for x86. diff -r 7d93d0f72802 -r ecb63dcc272c configure --- 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'