summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-29 22:19:54 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-29 22:19:54 +0000
commit0f93dff543bd6e44294450ae95104a8d91d9629d (patch)
treef02c750e87a35e24f9c792e8a551ee3fdb7911f4 /configure
parente6be635192ee0a4f44bf6d8799de67f4f337b4ab (diff)
downloadmpv-0f93dff543bd6e44294450ae95104a8d91d9629d.tar.bz2
mpv-0f93dff543bd6e44294450ae95104a8d91d9629d.tar.xz
Fix Theora check without pkgconfig, -ltheora will not link on its own,
-logg is needed as well. patch by Gianluigi Tiesi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24669 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index a1d64ef5f0..55f3d3c2f1 100755
--- a/configure
+++ b/configure
@@ -5913,12 +5913,12 @@ int main(void)
return 0;
}
EOF
- for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora"; do
+ for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora -logg"; do
cc_check $_ld_theora && _ld_extra="$_ld_extra $_ld_theora" \
&& _theora=yes && break
done
if test "$_theora" = no && test "$_tremor_internal" = yes; then
- for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora"; do
+ for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora -logg"; do
cc_check -I. tremor/bitwise.c $_ld_theora \
&& _ld_extra="$_ld_extra $_ld_theora" && theora=yes && break
done