Mercurial > mplayer.hg
comparison configure @ 21906:e42343c4f6f0
Move twolame check before toolame check.
author | diego |
---|---|
date | Sun, 14 Jan 2007 22:35:10 +0000 |
parents | 0c7a8204dacf |
children | 2a0402e274e7 |
comparison
equal
deleted
inserted
replaced
21905:361eda182dc7 | 21906:e42343c4f6f0 |
---|---|
5637 _def_mad='#undef USE_LIBMAD' | 5637 _def_mad='#undef USE_LIBMAD' |
5638 _nocodecmodules="libmad $_nocodecmodules" | 5638 _nocodecmodules="libmad $_nocodecmodules" |
5639 fi | 5639 fi |
5640 echores "$_mad" | 5640 echores "$_mad" |
5641 | 5641 |
5642 echocheck "Twolame" | |
5643 if test "$_twolame" = auto ; then | |
5644 cat > $TMPC <<EOF | |
5645 #include <twolame.h> | |
5646 int main(void) { twolame_init(); return 0; } | |
5647 EOF | |
5648 _twolame=no | |
5649 cc_check -ltwolame $_ld_lm && _twolame=yes | |
5650 fi | |
5651 if test "$_twolame" = yes ; then | |
5652 _def_twolame='#define HAVE_TWOLAME 1' | |
5653 _libs_mencoder="$_libs_mencoder -ltwolame" | |
5654 _codecmodules="twolame $_codecmodules" | |
5655 else | |
5656 _def_twolame='#undef HAVE_TWOLAME' | |
5657 _nocodecmodules="twolame $_nocodecmodules" | |
5658 fi | |
5659 echores "$_twolame" | |
5660 | |
5642 echocheck "Toolame" | 5661 echocheck "Toolame" |
5643 if test "$_toolame" = auto ; then | 5662 if test "$_toolame" = auto ; then |
5644 cat > $TMPC <<EOF | 5663 cat > $TMPC <<EOF |
5645 #include <toolame.h> | 5664 #include <toolame.h> |
5646 int main(void) { toolame_init(); return 0; } | 5665 int main(void) { toolame_init(); return 0; } |
5658 fi | 5677 fi |
5659 if test "$_toolamedir" ; then | 5678 if test "$_toolamedir" ; then |
5660 _res_comment="using $_toolamedir" | 5679 _res_comment="using $_toolamedir" |
5661 fi | 5680 fi |
5662 echores "$_toolame" | 5681 echores "$_toolame" |
5663 | |
5664 echocheck "Twolame" | |
5665 if test "$_twolame" = auto ; then | |
5666 cat > $TMPC <<EOF | |
5667 #include <twolame.h> | |
5668 int main(void) { twolame_init(); return 0; } | |
5669 EOF | |
5670 _twolame=no | |
5671 cc_check -ltwolame $_ld_lm && _twolame=yes | |
5672 fi | |
5673 if test "$_twolame" = yes ; then | |
5674 _def_twolame='#define HAVE_TWOLAME 1' | |
5675 _libs_mencoder="$_libs_mencoder -ltwolame" | |
5676 _codecmodules="twolame $_codecmodules" | |
5677 else | |
5678 _def_twolame='#undef HAVE_TWOLAME' | |
5679 _nocodecmodules="twolame $_nocodecmodules" | |
5680 fi | |
5681 echores "$_twolame" | |
5682 | 5682 |
5683 echocheck "OggVorbis support" | 5683 echocheck "OggVorbis support" |
5684 if test "$_tremor_internal" = yes; then | 5684 if test "$_tremor_internal" = yes; then |
5685 _libvorbis=no | 5685 _libvorbis=no |
5686 elif test "$_tremor_external" = auto; then | 5686 elif test "$_tremor_external" = auto; then |