Mercurial > mplayer.hg
comparison configure @ 34223:efaff9a9c1bc
Fix result output of yasm test.
author | reimar |
---|---|
date | Sun, 06 Nov 2011 09:00:15 +0000 |
parents | a1d0cad56632 |
children | 9b90a6efce15 |
comparison
equal
deleted
inserted
replaced
34222:a1d0cad56632 | 34223:efaff9a9c1bc |
---|---|
2760 fi | 2760 fi |
2761 YASMFLAGS="-f $objformat $yasmdefines" | 2761 YASMFLAGS="-f $objformat $yasmdefines" |
2762 yasm_check || die "yasm not found, use --yasm='' if you really want to compile without" | 2762 yasm_check || die "yasm not found, use --yasm='' if you really want to compile without" |
2763 fi | 2763 fi |
2764 fi | 2764 fi |
2765 if test $_yasm ; then | |
2766 def_yasm='#define HAVE_YASM 1' | |
2767 have_yasm="yes" | |
2768 echores "$_yasm" | |
2769 else | |
2770 def_yasm='#define HAVE_YASM 0' | |
2771 have_yasm="no" | |
2772 echores "no" | |
2773 fi | |
2765 | 2774 |
2766 echocheck "bswap" | 2775 echocheck "bswap" |
2767 echo 'bswap %eax' > $TMPS | 2776 echo 'bswap %eax' > $TMPS |
2768 $_as $TMPS -o $TMPEXE > /dev/null 2>&1 && def_bswap='#define HAVE_BSWAP 1' && bswap=yes || bswap=no | 2777 $_as $TMPS -o $TMPEXE > /dev/null 2>&1 && def_bswap='#define HAVE_BSWAP 1' && bswap=yes || bswap=no |
2769 echores "$bswap" | 2778 echores "$bswap" |
2775 xmm_clobbers=yes || xmm_clobbers=no | 2784 xmm_clobbers=yes || xmm_clobbers=no |
2776 echores "$xmm_clobbers" | 2785 echores "$xmm_clobbers" |
2777 | 2786 |
2778 else | 2787 else |
2779 _yasm='' | 2788 _yasm='' |
2780 fi #if x86 | |
2781 | |
2782 if test $_yasm ; then | |
2783 def_yasm='#define HAVE_YASM 1' | |
2784 have_yasm="yes" | |
2785 echores "$_yasm" | |
2786 else | |
2787 def_yasm='#define HAVE_YASM 0' | 2789 def_yasm='#define HAVE_YASM 0' |
2788 have_yasm="no" | 2790 have_yasm="no" |
2789 echores "no" | 2791 fi #if x86 |
2790 fi | |
2791 | 2792 |
2792 #FIXME: This should happen before the check for CFLAGS.. | 2793 #FIXME: This should happen before the check for CFLAGS.. |
2793 def_altivec_h='#define HAVE_ALTIVEC_H 0' | 2794 def_altivec_h='#define HAVE_ALTIVEC_H 0' |
2794 if ppc && ( test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ) ; then | 2795 if ppc && ( test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ) ; then |
2795 | 2796 |