diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-02-28 03:56:44 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-02-28 03:56:44 +0200 |
commit | 9f63c7f17f5c4945e050400c881a8ed1d82ff31e (patch) | |
tree | 3461520589b5ea758fbf84db012203f0b7d12006 /configure | |
parent | 0e752d586362b95288f1a94f7c2588016719d838 (diff) | |
download | mpv-9f63c7f17f5c4945e050400c881a8ed1d82ff31e.tar.bz2 mpv-9f63c7f17f5c4945e050400c881a8ed1d82ff31e.tar.xz |
configure: remove obsolete messages for mtrr / no w32codecs
Remove "Please check mtrr settings at /proc/mtrr" and "NOTE: Win32
codec DLLs are not supported on your CPU" messages printed at the end
of a configure run. mtrr should be irrelevant on today's machines, and
the DLLs are a lot less important nowadays. Also remove mtrr detection
logic that was only used to decide whether or not to print that
message. Bizarrely, there were --enable-mtrr and --disable-mtrr
options for this too (with no effect except for the message).
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 29 |
1 files changed, 1 insertions, 28 deletions
@@ -549,7 +549,6 @@ _armv6t2=auto _armvfp=auto neon=auto _iwmmxt=auto -_mtrr=auto _altivec=auto _install=install _ranlib=ranlib @@ -1071,8 +1070,6 @@ for ac_option do --disable-directfb) _directfb=no ;; --enable-bl) _bl=yes ;; --disable-bl) _bl=no ;; - --enable-mtrr) _mtrr=yes ;; - --disable-mtrr) _mtrr=no ;; --enable-shm) _shm=yes ;; --disable-shm) _shm=no ;; --enable-select) _select=yes ;; @@ -1539,8 +1536,7 @@ if x86 ; then exts=$($_cpuinfo | egrep 'features|flags' | cut -d ':' -f 2 | head -n 1) - pparam=$(echo $exts | sed -e s/k6_mtrr/mtrr/ -e s/cyrix_arr/mtrr/ -e s/centaur_mcr/mtrr/ \ - -e s/xmm/sse/ -e s/kni/sse/) + pparam=$(echo $exts | sed -e s/xmm/sse/ -e s/kni/sse/) # SSE implies MMX2, but not all SSE processors report the mmxext CPU flag. pparam=$(echo $pparam | sed -e 's/sse/sse mmxext/') @@ -1596,13 +1592,6 @@ EOF extcheck $_ssse3 "ssse3" "pabsd %%xmm0, %%xmm0" extcheck $_cmov "cmov" "cmovb %%eax, %%ebx" - echocheck "mtrr support" - if test "$_mtrr" = kernel_check ; then - _mtrr="yes" - _optimizing="$_optimizing mtrr" - fi - echores "$_mtrr" - if test "$_gcc3_ext" != ""; then # if we had to disable sse/sse2 because the active kernel does not # support this instruction set extension, we also have to tell @@ -2234,7 +2223,6 @@ if test "$_runtime_cpudetection" = yes ; then 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 @@ -6992,21 +6980,6 @@ Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. EOF -if test "$_mtrr" = yes ; then - echo "Please check mtrr settings at /proc/mtrr (see DOCS/HTML/$language_doc/video.html#mtrr)" - echo -fi - -if ! x86_32; then - cat <<EOF -NOTE: Win32 codec DLLs are not supported on your CPU ($host_arch) or your -operating system ($system_name). You may encounter a few files that cannot -be played due to missing open source video/audio codec support. - -EOF -fi - - cat <<EOF Check $TMPLOG if you wonder why an autodetection failed (make sure development headers/packages are installed). |