mirror of https://github.com/mpv-player/mpv
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:
parent
a3e92c22b2
commit
d9c79b7dc6
|
@ -5630,6 +5630,8 @@ echocheck "OggVorbis support"
|
||||||
if test "$_libvorbis" = auto; then
|
if test "$_libvorbis" = auto; then
|
||||||
_libvorbis=no
|
_libvorbis=no
|
||||||
statement_check vorbis/codec.h 'vorbis_packet_blocksize(0, 0)' -lvorbis -logg $_ld_lm && _libvorbis=yes && _tremor=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
|
fi
|
||||||
if test "$_tremor" = auto; then
|
if test "$_tremor" = auto; then
|
||||||
_tremor=no
|
_tremor=no
|
||||||
|
|
Loading…
Reference in New Issue