Author: reimar Date: Sun Nov 6 10:00:15 2011 New Revision: 34311 Log: Fix result output of yasm test. Modified: trunk/configure Modified: trunk/configure ============================================================================== --- trunk/configure Sun Nov 6 09:57:03 2011 (r34310) +++ trunk/configure Sun Nov 6 10:00:15 2011 (r34311) @@ -2762,6 +2762,15 @@ if test "$_yasm" ; then 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 @@ 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 +fi #if x86 #FIXME: This should happen before the check for CFLAGS.. def_altivec_h='#define HAVE_ALTIVEC_H 0'
participants (1)
-
reimar