[MPlayer-cvslog] r27948 - trunk/configure

diego subversion at mplayerhq.hu
Mon Nov 17 16:25:33 CET 2008


Author: diego
Date: Mon Nov 17 16:25:33 2008
New Revision: 27948

Log:
Only enable CONFIG_FFT_MMX if both yasm and MMX are enabled.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Nov 17 16:25:33 2008
@@ -2427,11 +2427,13 @@ fi
 echo "pabsw xmm0, xmm0" > $TMPS
 yasm_check || _yasm=""
 if test $_yasm ; then
+  test "$_mmx" = "yes" && fft_mmx="yes"
   _def_yasm='#define HAVE_YASM 1'
   _have_yasm="yes"
   echores "$_yasm"
 else
   _def_yasm='#undef HAVE_YASM'
+  fft_mmx="no"
   _have_yasm="no"
   echores "no"
 fi
@@ -8037,7 +8039,7 @@ LIBNAME=\$(LIBPREF)\$(NAME)\$(LIBSUF)
 
 # Some FFmpeg codecs depend on these. Enable them unconditionally for now.
 CONFIG_FFT=yes
-CONFIG_FFT_MMX=$_mmx
+CONFIG_FFT_MMX=$fft_mmx
 CONFIG_GOLOMB=yes
 CONFIG_MDCT=yes
 



More information about the MPlayer-cvslog mailing list