# HG changeset patch # User zuxy # Date 1189274804 0 # Node ID 9ee30cbeff75f7870812a87c0091e6cdfffc3bc4 # Parent 5a92d4b9f1fbb995c55cf2c35d23a663e286d23a Fix fast_cmov detection broken by r24371 diff -r 5a92d4b9f1fb -r 9ee30cbeff75 configure --- a/configure Sat Sep 08 18:04:47 2007 +0000 +++ b/configure Sat Sep 08 18:06:44 2007 +0000 @@ -1714,6 +1714,7 @@ else proc=pentium4 fi + test $_fast_cmov = "auto" && _fast_cmov=no ;; *) proc=prescott iproc=686 ;; esac @@ -1858,10 +1859,6 @@ if test $_cmov = "yes" && test $_fast_cmov = "auto" ; then _fast_cmov="yes" - case "$proc" in - pentium4|prescott|nocona) - _fast_cmov="no" - esac else _fast_cmov="no" fi @@ -1902,7 +1899,9 @@ *) # 64-bit prescotts exist, but as far as GCC is concerned they # have the same capabilities as a nocona. - proc=nocona;; + proc=nocona + test $_fast_cmov = "auto" && _fast_cmov=no + ;; esac ;; *)