comparison configure @ 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 55ff5df09657
children 18e2bab60851
comparison
equal deleted inserted replaced
34426:708adcb40b58 34427:cbee80faf0aa
6232 6232
6233 echocheck "OggTheora support" 6233 echocheck "OggTheora support"
6234 if test "$_theora" = auto ; then 6234 if test "$_theora" = auto ; then
6235 _theora=no 6235 _theora=no
6236 ld_theora="-ltheoradec -logg" 6236 ld_theora="-ltheoradec -logg"
6237 statement_check theora/theoradec.h 'theora_info_init(NULL)' $ld_theora && 6237 statement_check theora/theoradec.h 'th_info_init(NULL)' $ld_theora &&
6238 extra_ldflags="$extra_ldflags $ld_theora" && _theora=yes 6238 extra_ldflags="$extra_ldflags $ld_theora" && _theora=yes
6239 if test _theora = no; then 6239 if test _theora = no; then
6240 ld_theora=$($_pkg_config --silence-errors --libs theoradec) 6240 ld_theora=$($_pkg_config --silence-errors --libs theoradec)
6241 inc_theora=$($_pkg_config --silence-errors --cflags theoradec) 6241 inc_theora=$($_pkg_config --silence-errors --cflags theoradec)
6242 statement_check theora/theoradec.h 'theora_info_init(NULL)' $inc_theora $ld_theora && 6242 statement_check theora/theoradec.h 'th_info_init(NULL)' $inc_theora $ld_theora &&
6243 extra_ldflags="$extra_ldflags $ld_theora" && 6243 extra_ldflags="$extra_ldflags $ld_theora" &&
6244 extra_cflags="$extra_cflags $inc_theora" && _theora=yes 6244 extra_cflags="$extra_cflags $inc_theora" && _theora=yes
6245 fi 6245 fi
6246 fi 6246 fi
6247 if test "$_theora" = yes ; then 6247 if test "$_theora" = yes ; then