comparison configure @ 17991:4d96d2130172

support for mp3lame with -oac lavc
author jonas
date Wed, 29 Mar 2006 21:54:53 +0000
parents 4f7892794a7f
children f21e0fe4e965
comparison
equal deleted inserted replaced
17990:5f9f5c286716 17991:4d96d2130172
6515 EOF 6515 EOF
6516 # Note: libmp3lame usually depends on vorbis 6516 # Note: libmp3lame usually depends on vorbis
6517 cc_check -lmp3lame $_ld_vorbis $_ld_lm && tmp_run && _mp3lame=yes 6517 cc_check -lmp3lame $_ld_vorbis $_ld_lm && tmp_run && _mp3lame=yes
6518 if test "$_mp3lame" = yes ; then 6518 if test "$_mp3lame" = yes ; then
6519 _def_mp3lame="#define HAVE_MP3LAME" 6519 _def_mp3lame="#define HAVE_MP3LAME"
6520 _def_lavc_mp3lame="#define CONFIG_MP3LAME 1"
6520 _ld_mp3lame="-lmp3lame $_ld_vorbis" 6521 _ld_mp3lame="-lmp3lame $_ld_vorbis"
6521 cat > $TMPC << EOF 6522 cat > $TMPC << EOF
6522 #include <lame/lame.h> 6523 #include <lame/lame.h>
6523 int main(void) { int p = STANDARD_FAST; return 0; } 6524 int main(void) { int p = STANDARD_FAST; return 0; }
6524 EOF 6525 EOF
7799 7800
7800 /* Use specific codecs from libavcodec */ 7801 /* Use specific codecs from libavcodec */
7801 `echo $_libavcodecs | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define CONFIG_/;s/$/ 1/'` 7802 `echo $_libavcodecs | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define CONFIG_/;s/$/ 1/'`
7802 $_def_lavc_faac 7803 $_def_lavc_faac
7803 $_def_lavc_xvid 7804 $_def_lavc_xvid
7805 $_def_lavc_mp3lame
7804 7806
7805 /* Use codec libs included in mplayer CVS / source dist: */ 7807 /* Use codec libs included in mplayer CVS / source dist: */
7806 $_def_mp3lib 7808 $_def_mp3lib
7807 $_def_liba52 7809 $_def_liba52
7808 $_def_libdts 7810 $_def_libdts