summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 16:30:11 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 16:30:11 +0000
commit0d059c66a503d18ef049dd478a62d5b69a1ed53b (patch)
treee891e19bb22098f6cbfdde964148ac42e97bf0fc /configure
parentefa7170803691a6f4ea0c9f09e0048b9e57539a0 (diff)
downloadmpv-0d059c66a503d18ef049dd478a62d5b69a1ed53b.tar.bz2
mpv-0d059c66a503d18ef049dd478a62d5b69a1ed53b.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22719 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 10 insertions, 11 deletions
diff --git a/configure b/configure
index d8b3eda13d..09fc5379fe 100755
--- a/configure
+++ b/configure
@@ -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