restore the old behavior for --enable-theora, ie. provide a sane default for $_ld_theora

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17189 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
aurel 2005-12-13 21:54:28 +00:00
parent bd14af629c
commit f30730db1a
1 changed files with 3 additions and 0 deletions

3
configure vendored
View File

@ -5503,6 +5503,9 @@ fi
if test "$_theora" = yes ; then
_def_theora='#define HAVE_OGGTHEORA 1'
_codecmodules="libtheora $_codecmodules"
# when --enable-theora is forced, we'd better provide a probably sane
# $_ld_theora than nothing
test -z "$_ld_theora" && _ld_theora="-ltheora -logg"
else
_def_theora='#undef HAVE_OGGTHEORA'
_nocodecmodules="libtheora $_nocodecmodules"