# HG changeset patch # User diego # Date 1164223612 0 # Node ID 05e3e2311b09dd4c562e79f1aa133af6698e27e6 # Parent ad7747bce52df29f439cc6be0b2bf1f3b54bb371 Get rid of _ld_vorbis. diff -r ad7747bce52d -r 05e3e2311b09 configure --- 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 @@ -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