summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-02-18 16:16:30 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-02-18 16:16:30 +0200
commitd9c79b7dc6748a534ff370ecf52fc747084b9625 (patch)
tree14662a96665f3eb8665f5728ef87a755ca5d7b15 /configure
parenta3e92c22b2fa58f2bd3f9cc2b97e2f090106f984 (diff)
downloadmpv-d9c79b7dc6748a534ff370ecf52fc747084b9625.tar.bz2
mpv-d9c79b7dc6748a534ff370ecf52fc747084b9625.tar.xz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 975bce3864..1742c65686 100755
--- a/configure
+++ b/configure
@@ -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