[MPlayer-cvslog] r22719 - trunk/configure

diego subversion at mplayerhq.hu
Sun Mar 18 17:30:11 CET 2007


Author: diego
Date: Sun Mar 18 17:30:11 2007
New Revision: 22719

Modified:
   trunk/configure

Log:
Move fast cmov detection code from the PPC section into the x86 section
where it has a chance of actually being executed and fix the obvious
syntax errors it contained in the process.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Mar 18 17:30:11 2007
@@ -1787,6 +1787,16 @@ EOF
       esac
     fi
 
+    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
+
     echores "$proc"
     ;;
 
@@ -1973,17 +1983,6 @@ EOF
         echores "$proc"
     fi
 
-    #FIXME: The runtime CPU detection could check this as well.
-    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
-
     echocheck "GCC & CPU optimization abilities"
 
     if test -n "$proc"; then



More information about the MPlayer-cvslog mailing list