summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-19 16:42:25 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-19 16:42:25 +0000
commit46b83bc82ad59e370e36a103768e691a34aa0429 (patch)
tree1b505c3e9488e792b00ef9dcfbdf3ec9c69c29c4 /configure
parent1a862d97c4973ae5b7c9fc80c98df86cf539a457 (diff)
downloadmpv-46b83bc82ad59e370e36a103768e691a34aa0429.tar.bz2
mpv-46b83bc82ad59e370e36a103768e691a34aa0429.tar.xz
support runtime cpudetect on non-x86 systems too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9025 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 10 insertions, 7 deletions
diff --git a/configure b/configure
index a399005b51..0f69736890 100755
--- a/configure
+++ b/configure
@@ -580,14 +580,17 @@ if x86 || ppc; then
echocheck "CPU type"
echores "$pname"
+ # just leaving this here becouse the non-x86 optims
if test "$_runtime_cpudetection" = yes ; then
- _mmx=yes
- _3dnow=yes
- _3dnowex=yes
- _mmx2=yes
- _sse=yes
- _sse2=yes
- _mtrr=yes
+ if x86; then
+ _mmx=yes
+ _3dnow=yes
+ _3dnowex=yes
+ _mmx2=yes
+ _sse=yes
+ _sse2=yes
+ _mtrr=yes
+ fi
_optimizing="Runtime CPU-Detection enabled"
fi