From ba99ef4655a64dfacea2933c62c80b17bef994e4 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 19 Jun 2007 13:37:31 +0000 Subject: [PATCH] Allow to disable x86 cpu extensions (e.g, via --disable-sse) even with runtime cpudetection. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23583 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure b/configure index c2d2b4f7ab..110e74a2cf 100755 --- a/configure +++ b/configure @@ -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