[MPlayer-cvslog] r22088 - trunk/configure

diego subversion at mplayerhq.hu
Wed Jan 31 03:01:08 CET 2007


Author: diego
Date: Wed Jan 31 03:01:07 2007
New Revision: 22088

Modified:
   trunk/configure

Log:
Allow forcing processor features on and off.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Jan 31 03:01:07 2007
@@ -1474,7 +1474,7 @@
                            -e s/xmm/sse/ -e s/kni/sse/`
 
   for ext in $pparam ; do
-    eval test \$_$ext = auto 2>/dev/null && eval _$ext=yes
+    eval test \$_$ext = auto 2>/dev/null && eval _$ext=kernel_check
   done
 
   # SSE implies MMX2, but not all SSE processors report the mmxext CPU flag.
@@ -2111,7 +2111,7 @@
 
 if x86_32 && test "$_runtime_cpudetection" = no ; then
   extcheck() {
-    if test "$1" = yes ; then
+    if test "$1" = kernel_check ; then
       echocheck "kernel support of $2"
       cat > $TMPC <<EOF
 #include <signal.h>
@@ -2123,6 +2123,7 @@
 EOF
 
       if cc_check && tmp_run ; then
+        eval _$2=yes
         echores "yes"
 	_optimizing="$_optimizing $2"
         return 0



More information about the MPlayer-cvslog mailing list