changeset 9024:6dcba6346b88

support runtime cpudetect on non-x86 systems too
author alex
date Sun, 19 Jan 2003 16:42:25 +0000
parents e40760677a83
children ae0507e107b7
files configure
diffstat 1 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jan 19 16:10:38 2003 +0000
+++ b/configure	Sun Jan 19 16:42:25 2003 +0000
@@ -580,14 +580,17 @@
   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