# HG changeset patch # User diego # Date 1170208867 0 # Node ID 88182a84df537d916c3b525b420b01c6e6402289 # Parent 4f4a4481617291e58297f82464f0d58f7545b336 Allow forcing processor features on and off. diff -r 4f4a44816172 -r 88182a84df53 configure --- a/configure Wed Jan 31 01:43:24 2007 +0000 +++ b/configure Wed Jan 31 02:01:07 2007 +0000 @@ -1474,7 +1474,7 @@ -e s/xmm/sse/ -e s/kni/sse/` for ext in $pparam ; do - eval test \$_$ext = auto 2>/dev/null && eval _$ext=yes + 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. @@ -2111,7 +2111,7 @@ if x86_32 && test "$_runtime_cpudetection" = no ; then extcheck() { - if test "$1" = yes ; then + if test "$1" = kernel_check ; then echocheck "kernel support of $2" cat > $TMPC < @@ -2123,6 +2123,7 @@ EOF if cc_check && tmp_run ; then + eval _$2=yes echores "yes" _optimizing="$_optimizing $2" return 0