Mercurial > mplayer.hg
changeset 27042:5d69377075ac
cosmetics: Group internal codec library tests together.
author | diego |
---|---|
date | Sun, 15 Jun 2008 16:00:51 +0000 |
parents | 385e404459da |
children | c333185b1c3e |
files | configure |
diffstat | 1 files changed, 21 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sun Jun 15 15:27:35 2008 +0000 +++ b/configure Sun Jun 15 16:00:51 2008 +0000 @@ -5957,6 +5957,27 @@ fi echores "$_liba52" +echocheck "internal libmpeg2 support" +if test "$_libmpeg2" = auto ; then + _libmpeg2=yes + if alpha && test cc_vendor=gnu; then + case $cc_version in + 2*|3.0*|3.1*) # cannot compile MVI instructions + _libmpeg2=no + _res_comment="broken gcc" + ;; + esac + fi +fi +if test "$_libmpeg2" = yes ; then + _def_libmpeg2='#define USE_LIBMPEG2 1' + _codecmodules="libmpeg2 $_codecmodules" +else + _def_libmpeg2='#undef USE_LIBMPEG2' + _nocodecmodules="libmpeg2 $_nocodecmodules" +fi +echores "$_libmpeg2" + echocheck "libdca support" if test "$_libdca" = auto ; then _libdca=no @@ -5979,27 +6000,6 @@ fi echores "$_libdca" -echocheck "internal libmpeg2 support" -if test "$_libmpeg2" = auto ; then - _libmpeg2=yes - if alpha && test cc_vendor=gnu; then - case $cc_version in - 2*|3.0*|3.1*) # cannot compile MVI instructions - _libmpeg2=no - _res_comment="broken gcc" - ;; - esac - fi -fi -if test "$_libmpeg2" = yes ; then - _def_libmpeg2='#define USE_LIBMPEG2 1' - _codecmodules="libmpeg2 $_codecmodules" -else - _def_libmpeg2='#undef USE_LIBMPEG2' - _nocodecmodules="libmpeg2 $_nocodecmodules" -fi -echores "$_libmpeg2" - echocheck "libmpcdec (musepack, version >= 1.2.1 required)" if test "$_musepack" = auto ; then _musepack=no