summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-31 02:01:07 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-31 02:01:07 +0000
commitbf3e5764eb50e9bec105e0d226c4e3eefdf2a8d9 (patch)
tree34bede2da0fb68f139430925e26f89fed8711d22 /configure
parent7d2284e42d7565eccbdcaed76c8005a1b1b32996 (diff)
downloadmpv-bf3e5764eb50e9bec105e0d226c4e3eefdf2a8d9.tar.bz2
mpv-bf3e5764eb50e9bec105e0d226c4e3eefdf2a8d9.tar.xz
Allow forcing processor features on and off.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22088 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 9fe1a733ad..7d3f5ce975 100755
--- a/configure
+++ b/configure
@@ -1474,7 +1474,7 @@ if x86 ; then
-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 @@ fi
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 @@ int main(void){
EOF
if cc_check && tmp_run ; then
+ eval _$2=yes
echores "yes"
_optimizing="$_optimizing $2"
return 0