# HG changeset patch # User diego # Date 1191104394 0 # Node ID aa3ba702dec5d01a51ddd1a0d8c6fa62bc1bdbe8 # Parent ce126ce0362f37235f51c802734e342d697f1916 Fix Theora check without pkgconfig, -ltheora will not link on its own, -logg is needed as well. patch by Gianluigi Tiesi diff -r ce126ce0362f -r aa3ba702dec5 configure --- 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