changeset 34427:cbee80faf0aa

Check for correct function (th_info_init, not theora_info_init) in libtheora test. Patch by Giorgio Vazzana {mywing81 gmail com}.
author reimar
date Thu, 05 Jan 2012 15:41:59 +0000
parents 708adcb40b58
children 438e8d189753
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Jan 05 15:39:14 2012 +0000
+++ b/configure	Thu Jan 05 15:41:59 2012 +0000
@@ -6234,12 +6234,12 @@
 if test "$_theora" = auto ; then
   _theora=no
   ld_theora="-ltheoradec -logg"
-  statement_check theora/theoradec.h 'theora_info_init(NULL)' $ld_theora &&
+  statement_check theora/theoradec.h 'th_info_init(NULL)' $ld_theora &&
     extra_ldflags="$extra_ldflags $ld_theora" && _theora=yes
   if test _theora = no; then
     ld_theora=$($_pkg_config --silence-errors --libs theoradec)
     inc_theora=$($_pkg_config --silence-errors --cflags theoradec)
-    statement_check theora/theoradec.h 'theora_info_init(NULL)' $inc_theora $ld_theora &&
+    statement_check theora/theoradec.h 'th_info_init(NULL)' $inc_theora $ld_theora &&
       extra_ldflags="$extra_ldflags $ld_theora" &&
       extra_cflags="$extra_cflags $inc_theora" && _theora=yes
   fi