# HG changeset patch # User reimar # Date 1308854546 0 # Node ID a621fd1e93ae7b756b9c78da0189d2af0625b0e2 # Parent 5e3f013bf4c26ad076f156cca3ca0675c7a80a50 Fix "sse in cpuinfo implies mmxext" hack to still work when --disable-sse is used. diff -r 5e3f013bf4c2 -r a621fd1e93ae configure --- 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)"