stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0102cf663e67fe0d3da9ceaf813a94c7936df095

commit 0102cf663e67fe0d3da9ceaf813a94c7936df095
Author: Andrey Gursky <andrey.gur...@e-mail.ua>
Date:   Mon Jan 18 01:38:18 2016 +0100

    Fix build if openjpeg-2 is installed
    
    libopenjp2.so on Debian belongs actually to openjpeg-2.1, while
    libopenjpeg.so belongs to openjpeg-1.5.
    
    The function opj_set_default_decoder_parameters exists in both versions.
    Thus another unique to openjpeg-1.5 function must be chosen to check,
    whether libopenjp2 is a right one.
    
    Fixes https://phab.enlightenment.org/T3064
---
 m4/evas_check_loader.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/evas_check_loader.m4 b/m4/evas_check_loader.m4
index c7ab0dc..b2f5c5a 100644
--- a/m4/evas_check_loader.m4
+++ b/m4/evas_check_loader.m4
@@ -214,7 +214,7 @@ AC_CHECK_HEADER([openjpeg.h], [have_dep="yes"])
 
 if test "x${have_dep}" = "xyes" ; then
    AC_CHECK_LIB([openjp2],
-      [opj_set_default_decoder_parameters],
+      [opj_cio_open],
       [
        evas_image_loader_[]$1[]_libs="-lopenjp2"
        have_dep="yes"

-- 


Reply via email to