# HG changeset patch # User iive # Date 1068243291 0 # Node ID 77af55c1b66163ecf2d0dcfde83089679f418412 # Parent 147f31870df698af6dbc3419c72ee8b9ef4203d8 fix lavc fail on missing lame diff -r 147f31870df6 -r 77af55c1b661 configure --- a/configure Fri Nov 07 15:12:29 2003 +0000 +++ b/configure Fri Nov 07 22:14:51 2003 +0000 @@ -5046,9 +5046,11 @@ cc_check -lmp3lame $_ld_vorbis -lm && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _mp3lame=yes if test "$_mp3lame" = yes ; then _def_mp3lame="#define HAVE_MP3LAME `$TMPO`" + _def_cfg_mp3lame="#define CONFIG_MP3LAME `$TMPO`" _ld_mp3lame="-lmp3lame $_ld_vorbis" else _def_mp3lame='#undef HAVE_MP3LAME' + _def_cfg_mp3lame='#undef CONFIG_MP3LAME' fi echores "$_mp3lame" @@ -5945,7 +5947,7 @@ /* Indicates if libmp3lame is available Note: for mencoder */ $_def_mp3lame -#define CONFIG_MP3LAME HAVE_MP3LAME +$_def_cfg_mp3lame /* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */ $_def_mp1e