diff --git a/configure b/configure index 3fab35da38..ed30fc6ca8 100755 --- a/configure +++ b/configure @@ -5639,6 +5639,25 @@ else 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