diff configure @ 8517:bcf1b010bf14

Presets are an easy way, to use hard to access lame options and to give you optimum quality at average bitrate. This patch adds presets to mencoder for libmp3lame >= 3.92. More info in the sourcecode & at http://www.mp3dev.org/mp3/doc/html/presets.html patch by eviv bulgroz <ebulgroz@yahoo.com>
author arpi
date Sat, 21 Dec 2002 22:16:49 +0000
parents 2dd791127398
children 9d143176d95f
line wrap: on
line diff
--- a/configure	Sat Dec 21 22:11:48 2002 +0000
+++ b/configure	Sat Dec 21 22:16:49 2002 +0000
@@ -4127,12 +4127,12 @@
   _mp3lame=no
   cat > $TMPC <<EOF
 #include <lame/lame.h>
-int main(void) { (void) lame_init(); return 0; }
+int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv);  printf("%d%d\n",lv.major,lv.minor); return 0; }
 EOF
   # Note: libmp3lame usually depends on vorbis
   cc_check -lmp3lame $_ld_vorbis -lm && _mp3lame=yes
   if test "$_mp3lame" = yes ; then
-    _def_mp3lame='#define HAVE_MP3LAME 1'
+    _def_mp3lame="#define HAVE_MP3LAME `$TMPO`"
     _ld_mp3lame="-lmp3lame $_ld_vorbis"
   else
     _def_mp3lame='#undef HAVE_MP3LAME'