changeset 17188:ad0147f764d1

restore the old behavior for --enable-theora, ie. provide a sane default for $_ld_theora
author aurel
date Tue, 13 Dec 2005 21:54:28 +0000
parents e2b0c2841643
children ee03a2c72db8
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Dec 13 19:55:45 2005 +0000
+++ b/configure	Tue Dec 13 21:54:28 2005 +0000
@@ -5503,6 +5503,9 @@
 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"