# HG changeset patch # User diego # Date 1168815505 0 # Node ID d46c88125495b8894bb4e47c7097e38841fd849d # Parent 22782c86fd381c8db3eaaf632345fd95356d682e Move toolame vs twolame logic into the $_toolame=auto case. diff -r 22782c86fd38 -r d46c88125495 configure --- a/configure Sun Jan 14 22:45:45 2007 +0000 +++ b/configure Sun Jan 14 22:58:25 2007 +0000 @@ -5659,15 +5659,18 @@ echores "$_twolame" echocheck "Toolame" -test "$_twolame" = yes && _toolame=no && _res_comment="disabled by twolame" if test "$_toolame" = auto ; then + _toolame=no +if test "$_twolame" = yes ; then + _res_comment="disabled by twolame" +else cat > $TMPC < int main(void) { toolame_init(); return 0; } EOF - _toolame=no cc_check -ltoolame $_ld_lm && _toolame=yes fi +fi if test "$_toolame" = yes ; then _def_toolame='#define HAVE_TOOLAME 1' _libs_mencoder="$_libs_mencoder -ltoolame"