# HG changeset patch # User diego # Date 1168814110 0 # Node ID e42343c4f6f0b7a14497ade3e9dadd8261fe8580 # Parent 361eda182dc701a4951658aabdc58234593fbd77 Move twolame check before toolame check. diff -r 361eda182dc7 -r e42343c4f6f0 configure --- a/configure Sun Jan 14 07:03:51 2007 +0000 +++ b/configure Sun Jan 14 22:35:10 2007 +0000 @@ -5639,6 +5639,25 @@ fi echores "$_mad" +echocheck "Twolame" +if test "$_twolame" = auto ; then + cat > $TMPC < +int main(void) { twolame_init(); return 0; } +EOF + _twolame=no + cc_check -ltwolame $_ld_lm && _twolame=yes +fi +if test "$_twolame" = yes ; then + _def_twolame='#define HAVE_TWOLAME 1' + _libs_mencoder="$_libs_mencoder -ltwolame" + _codecmodules="twolame $_codecmodules" +else + _def_twolame='#undef HAVE_TWOLAME' + _nocodecmodules="twolame $_nocodecmodules" +fi +echores "$_twolame" + echocheck "Toolame" if test "$_toolame" = auto ; then cat > $TMPC < $TMPC < -int main(void) { twolame_init(); return 0; } -EOF - _twolame=no - cc_check -ltwolame $_ld_lm && _twolame=yes -fi -if test "$_twolame" = yes ; then - _def_twolame='#define HAVE_TWOLAME 1' - _libs_mencoder="$_libs_mencoder -ltwolame" - _codecmodules="twolame $_codecmodules" -else - _def_twolame='#undef HAVE_TWOLAME' - _nocodecmodules="twolame $_nocodecmodules" -fi -echores "$_twolame" - echocheck "OggVorbis support" if test "$_tremor_internal" = yes; then _libvorbis=no