summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-06-23 18:42:26 +0000
committerUoti Urpala <uau@mplayer2.org>2011-07-06 13:01:08 +0300
commitbd4f430d6294f546dd7906671f44e1271bb058a1 (patch)
tree23bb03ca2d0b78de31b9c1cf5ea6be2b06437d19 /configure
parent8efc898f7838fc9af355869d0a6557245799d4a2 (diff)
downloadmpv-bd4f430d6294f546dd7906671f44e1271bb058a1.tar.bz2
mpv-bd4f430d6294f546dd7906671f44e1271bb058a1.tar.xz
configure: fix mmxext detection with --disable-sse
Fix "sse in cpuinfo implies mmxext" hack to still work when --disable-sse is used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33714 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 65e997baf7..5a096ccd20 100755
--- a/configure
+++ b/configure
@@ -1538,14 +1538,13 @@ if x86 ; then
pparam=$(echo $exts | sed -e s/k6_mtrr/mtrr/ -e s/cyrix_arr/mtrr/ -e s/centaur_mcr/mtrr/ \
-e s/xmm/sse/ -e s/kni/sse/)
+ # SSE implies MMX2, but not all SSE processors report the mmxext CPU flag.
+ pparam=$(echo $pparam | sed -e 's/sse/sse mmxext/')
for ext in $pparam ; do
eval test \"\$_$ext\" = auto 2>/dev/null && eval _$ext=kernel_check
done
- # SSE implies MMX2, but not all SSE processors report the mmxext CPU flag.
- test $_sse = kernel_check && _mmxext=kernel_check
-
echocheck "CPU vendor"
echores "$pvendor ($pfamily:$pmodel:$pstepping)"