Mercurial > mplayer.hg
comparison configure @ 11409:77af55c1b661
fix lavc fail on missing lame
author | iive |
---|---|
date | Fri, 07 Nov 2003 22:14:51 +0000 |
parents | 8b62788d4d1b |
children | 6afc2d6f5a08 |
comparison
equal
deleted
inserted
replaced
11408:147f31870df6 | 11409:77af55c1b661 |
---|---|
5044 EOF | 5044 EOF |
5045 # Note: libmp3lame usually depends on vorbis | 5045 # Note: libmp3lame usually depends on vorbis |
5046 cc_check -lmp3lame $_ld_vorbis -lm && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _mp3lame=yes | 5046 cc_check -lmp3lame $_ld_vorbis -lm && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _mp3lame=yes |
5047 if test "$_mp3lame" = yes ; then | 5047 if test "$_mp3lame" = yes ; then |
5048 _def_mp3lame="#define HAVE_MP3LAME `$TMPO`" | 5048 _def_mp3lame="#define HAVE_MP3LAME `$TMPO`" |
5049 _def_cfg_mp3lame="#define CONFIG_MP3LAME `$TMPO`" | |
5049 _ld_mp3lame="-lmp3lame $_ld_vorbis" | 5050 _ld_mp3lame="-lmp3lame $_ld_vorbis" |
5050 else | 5051 else |
5051 _def_mp3lame='#undef HAVE_MP3LAME' | 5052 _def_mp3lame='#undef HAVE_MP3LAME' |
5053 _def_cfg_mp3lame='#undef CONFIG_MP3LAME' | |
5052 fi | 5054 fi |
5053 echores "$_mp3lame" | 5055 echores "$_mp3lame" |
5054 | 5056 |
5055 | 5057 |
5056 echocheck "DivX4linux encore (for mencoder)" | 5058 echocheck "DivX4linux encore (for mencoder)" |
5943 $_def_encore | 5945 $_def_encore |
5944 | 5946 |
5945 /* Indicates if libmp3lame is available | 5947 /* Indicates if libmp3lame is available |
5946 Note: for mencoder */ | 5948 Note: for mencoder */ |
5947 $_def_mp3lame | 5949 $_def_mp3lame |
5948 #define CONFIG_MP3LAME HAVE_MP3LAME | 5950 $_def_cfg_mp3lame |
5949 | 5951 |
5950 /* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */ | 5952 /* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */ |
5951 $_def_mp1e | 5953 $_def_mp1e |
5952 | 5954 |
5953 /* Define this to enable avg. byte/sec-based AVI sync method by default: | 5955 /* Define this to enable avg. byte/sec-based AVI sync method by default: |