Mercurial > mplayer.hg
changeset 34223:efaff9a9c1bc
Fix result output of yasm test.
author | reimar |
---|---|
date | Sun, 06 Nov 2011 09:00:15 +0000 |
parents | a1d0cad56632 |
children | 9b90a6efce15 |
files | configure |
diffstat | 1 files changed, 10 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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'