From 679d6f09b37c3c8223b09a94ec8db58cb0dfe3b9 Mon Sep 17 00:00:00 2001 From: iive Date: Fri, 7 Nov 2003 22:14:51 +0000 Subject: [PATCH] fix lavc fail on missing lame git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11410 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 485f62514d..1ca296ec59 100755 --- a/configure +++ b/configure @@ -5046,9 +5046,11 @@ EOF 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 @@ $_def_encore /* 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