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
This commit is contained in:
diego 2007-09-29 22:19:54 +00:00
parent e6be635192
commit 0f93dff543
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -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