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
This commit is contained in:
reimar 2011-06-23 18:42:26 +00:00 committed by Uoti Urpala
parent 8efc898f78
commit bd4f430d62
1 changed files with 2 additions and 3 deletions

5
configure vendored
View File

@ -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)"