# HG changeset patch # User diego # Date 1171288765 0 # Node ID 53070c001740d16a90256327657e08c50ba744c1 # Parent 5f625f7ac2715e8b993d20a3a5f4278e902d3965 Fix setting of mtrr variable. diff -r 5f625f7ac271 -r 53070c001740 configure --- a/configure Mon Feb 12 11:31:52 2007 +0000 +++ b/configure Mon Feb 12 13:59:25 2007 +0000 @@ -2147,11 +2147,11 @@ extcheck $_cmov "cmov" "cmovb %%eax,%%ebx" echocheck "mtrr support" - echores "$_mtrr" - - if test "$_mtrr" = yes ; then + if test "$_mtrr" = kernel_check ; then + _mtrr="yes" _optimizing="$_optimizing mtrr" fi + echores "$_mtrr" if test "$_gcc3_ext" != ""; then # if we had to disable sse/sse2 because the active kernel does not