changeset 33626:a621fd1e93ae

Fix "sse in cpuinfo implies mmxext" hack to still work when --disable-sse is used.
author reimar
date Thu, 23 Jun 2011 18:42:26 +0000
parents 5e3f013bf4c2
children d9cf7500b0d8
files configure
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Jun 22 19:12:23 2011 +0000
+++ b/configure	Thu Jun 23 18:42:26 2011 +0000
@@ -1777,14 +1777,13 @@
 
   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)"