summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-13 21:54:28 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-13 21:54:28 +0000
commitf30730db1a597eca4ed0b9396ad528021d7a8350 (patch)
treebba6166821c8c84b5277c6de87a842d1dd0b9a4d /configure
parentbd14af629c1604bf16bd3f2f782cee9c6b069e9e (diff)
downloadmpv-f30730db1a597eca4ed0b9396ad528021d7a8350.tar.bz2
mpv-f30730db1a597eca4ed0b9396ad528021d7a8350.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index f45321757e..2dce10935c 100755
--- a/configure
+++ b/configure
@@ -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"