[MPlayer-cvslog] r23583 - trunk/configure

reimar subversion at mplayerhq.hu
Tue Jun 19 15:37:31 CEST 2007


Author: reimar
Date: Tue Jun 19 15:37:31 2007
New Revision: 23583

Log:
Allow to disable x86 cpu extensions (e.g, via --disable-sse) even with
runtime cpudetection.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Jun 19 15:37:31 2007
@@ -2208,16 +2208,16 @@ esac # case "$host_arch" in
 
 if test "$_runtime_cpudetection" = yes ; then
   if x86 ; then
-    _cmov=yes
+    test "$_cmov"     != no && _cmov=yes
     x86_32 && _cmov=no
-    _mmx=yes
-    _3dnow=yes
-    _3dnowext=yes
-    _mmxext=yes
-    _sse=yes
-    _sse2=yes
-    _ssse3=yes
-    _mtrr=yes
+    test "$_mmx"      != no && _mmx=yes
+    test "$_3dnow"    != no && _3dnow=yes
+    test "$_3dnowext" != no && _3dnowext=yes
+    test "$_mmxext"   != no && _mmxext=yes
+    test "$_sse"      != no && _sse=yes
+    test "$_sse2"     != no && _sse2=yes
+    test "$_ssse3"    != no && _ssse3=yes
+    test "$_mtrr"     != no && _mtrr=yes
   fi
   if ppc; then
     _altivec=yes



More information about the MPlayer-cvslog mailing list