comparison configure @ 21162:05e3e2311b09

Get rid of _ld_vorbis.
author diego
date Wed, 22 Nov 2006 19:26:52 +0000
parents ad7747bce52d
children 3ab4fbf93767
comparison
equal deleted inserted replaced
21161:ad7747bce52d 21162:05e3e2311b09
5602 _vorbis=yes 5602 _vorbis=yes
5603 _def_vorbis='#define HAVE_OGGVORBIS 1' 5603 _def_vorbis='#define HAVE_OGGVORBIS 1'
5604 _def_tremor='#define TREMOR 1' 5604 _def_tremor='#define TREMOR 1'
5605 _codecmodules="tremor(external) $_codecmodules" 5605 _codecmodules="tremor(external) $_codecmodules"
5606 _res_comment="external Tremor" 5606 _res_comment="external Tremor"
5607 _ld_vorbis='-logg -lvorbisidec' 5607 _ld_extra="$_ld_extra -logg -lvorbisidec"
5608 elif test "$_libvorbis" = yes ; then 5608 elif test "$_libvorbis" = yes ; then
5609 _vorbis=yes 5609 _vorbis=yes
5610 _def_vorbis='#define HAVE_OGGVORBIS 1' 5610 _def_vorbis='#define HAVE_OGGVORBIS 1'
5611 _codecmodules="libvorbis $_codecmodules" 5611 _codecmodules="libvorbis $_codecmodules"
5612 _res_comment="libvorbis" 5612 _res_comment="libvorbis"
5613 _ld_vorbis='-lvorbis -logg' 5613 _ld_extra="$_ld_extra -lvorbis -logg"
5614 else 5614 else
5615 _vorbis=no 5615 _vorbis=no
5616 _nocodecmodules="libvorbis $_nocodecmodules" 5616 _nocodecmodules="libvorbis $_nocodecmodules"
5617 fi 5617 fi
5618 echores "$_vorbis" 5618 echores "$_vorbis"
6477 cat > $TMPC <<EOF 6477 cat > $TMPC <<EOF
6478 #include <lame/lame.h> 6478 #include <lame/lame.h>
6479 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; } 6479 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; }
6480 EOF 6480 EOF
6481 # Note: libmp3lame usually depends on vorbis 6481 # Note: libmp3lame usually depends on vorbis
6482 cc_check -lmp3lame $_ld_vorbis $_ld_lm && tmp_run && _mp3lame=yes 6482 cc_check -lmp3lame $_ld_lm && tmp_run && _mp3lame=yes
6483 if test "$_mp3lame" = yes ; then 6483 if test "$_mp3lame" = yes ; then
6484 _def_mp3lame="#define HAVE_MP3LAME" 6484 _def_mp3lame="#define HAVE_MP3LAME"
6485 _ld_mp3lame="-lmp3lame $_ld_vorbis" 6485 _ld_mp3lame=-lmp3lame
6486 _libs_mencoder="$_libs_mencoder $_ld_mp3lame" 6486 _libs_mencoder="$_libs_mencoder $_ld_mp3lame"
6487 cat > $TMPC << EOF 6487 cat > $TMPC << EOF
6488 #include <lame/lame.h> 6488 #include <lame/lame.h>
6489 int main(void) { lame_set_preset(NULL, STANDARD_FAST); return 0; } 6489 int main(void) { lame_set_preset(NULL, STANDARD_FAST); return 0; }
6490 EOF 6490 EOF
7356 PNG = $_png 7356 PNG = $_png
7357 JPEG = $_jpeg 7357 JPEG = $_jpeg
7358 GIF = $_gif 7358 GIF = $_gif
7359 7359
7360 EXTRALIBS = $_extra_libs 7360 EXTRALIBS = $_extra_libs
7361 EXTRA_LIB = $_ld_extra $_ld_static $_ld_lm $_ld_vorbis $_ld_arch 7361 EXTRA_LIB = $_ld_extra $_ld_static $_ld_lm $_ld_arch
7362 EXTRALIBS_MPLAYER = $_libs_mplayer $_ld_sock $_ld_gtk $_ld_glib 7362 EXTRALIBS_MPLAYER = $_libs_mplayer $_ld_sock $_ld_gtk $_ld_glib
7363 EXTRALIBS_MENCODER = $_libs_mencoder 7363 EXTRALIBS_MENCODER = $_libs_mencoder
7364 7364
7365 HAVE_MLIB = $_mlib 7365 HAVE_MLIB = $_mlib
7366 HAVE_PTHREADS = $_pthreads 7366 HAVE_PTHREADS = $_pthreads