# HG changeset patch # User reimar # Date 1320570015 0 # Node ID efaff9a9c1bc88c28543ffdd4ab57b9e4f9d9c75 # Parent a1d0cad56632bd0e92750e00d4112d388d8b2158 Fix result output of yasm test. diff -r a1d0cad56632 -r efaff9a9c1bc configure --- a/configure Sun Nov 06 08:57:03 2011 +0000 +++ b/configure Sun Nov 06 09:00:15 2011 +0000 @@ -2762,6 +2762,15 @@ 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 @@ -2777,17 +2786,9 @@ 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 +fi #if x86 #FIXME: This should happen before the check for CFLAGS.. def_altivec_h='#define HAVE_ALTIVEC_H 0'