summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-17 15:25:33 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-17 15:25:33 +0000
commitc184fe7b0731a58d92ab5cb32b587f265896432e (patch)
tree280504778347a13a3dc65fe66d4f9f9d21d1a79b /configure
parent26a4b024174676f73c140c6e01444fc8b2797dd0 (diff)
downloadmpv-c184fe7b0731a58d92ab5cb32b587f265896432e.tar.bz2
mpv-c184fe7b0731a58d92ab5cb32b587f265896432e.tar.xz
Only enable CONFIG_FFT_MMX if both yasm and MMX are enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27948 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index b5f67addb4..638a8bf2b8 100755
--- a/configure
+++ b/configure
@@ -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