Mercurial > mplayer.hg
changeset 21162:05e3e2311b09
Get rid of _ld_vorbis.
author | diego |
---|---|
date | Wed, 22 Nov 2006 19:26:52 +0000 |
parents | ad7747bce52d |
children | 13d6af2767b6 |
files | configure |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Nov 22 19:21:16 2006 +0000 +++ b/configure Wed Nov 22 19:26:52 2006 +0000 @@ -5604,13 +5604,13 @@ _def_tremor='#define TREMOR 1' _codecmodules="tremor(external) $_codecmodules" _res_comment="external Tremor" - _ld_vorbis='-logg -lvorbisidec' + _ld_extra="$_ld_extra -logg -lvorbisidec" elif test "$_libvorbis" = yes ; then _vorbis=yes _def_vorbis='#define HAVE_OGGVORBIS 1' _codecmodules="libvorbis $_codecmodules" _res_comment="libvorbis" - _ld_vorbis='-lvorbis -logg' + _ld_extra="$_ld_extra -lvorbis -logg" else _vorbis=no _nocodecmodules="libvorbis $_nocodecmodules" @@ -6479,10 +6479,10 @@ 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 $_ld_lm && tmp_run && _mp3lame=yes + cc_check -lmp3lame $_ld_lm && tmp_run && _mp3lame=yes if test "$_mp3lame" = yes ; then _def_mp3lame="#define HAVE_MP3LAME" - _ld_mp3lame="-lmp3lame $_ld_vorbis" + _ld_mp3lame=-lmp3lame _libs_mencoder="$_libs_mencoder $_ld_mp3lame" cat > $TMPC << EOF #include <lame/lame.h> @@ -7358,7 +7358,7 @@ GIF = $_gif EXTRALIBS = $_extra_libs -EXTRA_LIB = $_ld_extra $_ld_static $_ld_lm $_ld_vorbis $_ld_arch +EXTRA_LIB = $_ld_extra $_ld_static $_ld_lm $_ld_arch EXTRALIBS_MPLAYER = $_libs_mplayer $_ld_sock $_ld_gtk $_ld_glib EXTRALIBS_MENCODER = $_libs_mencoder