[MPlayer-cvslog] r34276 - trunk/configure

cehoyos subversion at mplayerhq.hu
Sat Oct 29 12:01:33 CEST 2011


Author: cehoyos
Date: Sat Oct 29 12:01:32 2011
New Revision: 34276

Log:
Fix compilation for broken libopenjpeg.

Some versions of openjpeg.h only declare opj_decode_with_info() in a
comment.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Oct 28 14:46:30 2011	(r34275)
+++ trunk/configure	Sat Oct 29 12:01:32 2011	(r34276)
@@ -4836,7 +4836,7 @@ fi
 echocheck "OpenJPEG (JPEG 2000) support"
 if test "$libopenjpeg" = auto ; then
   libopenjpeg=no
-  define_statement_check OPJ_STATIC openjpeg.h 'opj_dparameters_t dec_params; opj_set_default_decoder_parameters(&dec_params)' -lopenjpeg && libopenjpeg=yes
+  define_statement_check OPJ_STATIC openjpeg.h 'opj_dparameters_t dec_params; opj_set_default_decoder_parameters(&dec_params);opj_decode_with_info(0,0,0)' -lopenjpeg && libopenjpeg=yes
 fi
 echores "$libopenjpeg"
 if test "$libopenjpeg" = yes ; then


More information about the MPlayer-cvslog mailing list