changeset 24649:aa3ba702dec5

Fix Theora check without pkgconfig, -ltheora will not link on its own, -logg is needed as well. patch by Gianluigi Tiesi
author diego
date Sat, 29 Sep 2007 22:19:54 +0000
parents ce126ce0362f
children f4143e50206d
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Sep 29 22:16:07 2007 +0000
+++ b/configure	Sat Sep 29 22:19:54 2007 +0000
@@ -5913,12 +5913,12 @@
   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