From 02134bc46b0f46fcb839eb48cf404e05d59ada20 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 15 Jun 2008 16:00:51 +0000 Subject: [PATCH] cosmetics: Group internal codec library tests together. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27074 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/configure b/configure index 1e9310aa8d..4eed6b0b21 100755 --- a/configure +++ b/configure @@ -5957,6 +5957,27 @@ else 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 @@ else 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