changeset 11409:77af55c1b661

fix lavc fail on missing lame
author iive
date Fri, 07 Nov 2003 22:14:51 +0000
parents 147f31870df6
children 719d696267a8
files configure
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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