configure: fix --enable-libvorbis with tremor installed

Autodetected libvorbis prevented tremor test from running, but
--enable-libvorbis didn't. Add an explicit check to disable tremor in
that case.
This commit is contained in:
Uoti Urpala 2011-02-18 16:16:30 +02:00
parent a3e92c22b2
commit d9c79b7dc6
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -5630,6 +5630,8 @@ echocheck "OggVorbis support"
if test "$_libvorbis" = auto; then
_libvorbis=no
statement_check vorbis/codec.h 'vorbis_packet_blocksize(0, 0)' -lvorbis -logg $_ld_lm && _libvorbis=yes && _tremor=no
elif test "$_libvorbis" = yes ; then
_tremor=no
fi
if test "$_tremor" = auto; then
_tremor=no