[poppler] configure.ac

Adrian Johnson ajohnson at kemper.freedesktop.org
Sun Sep 27 07:25:46 PDT 2015


 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e8cb16bff48dbe2d9efd988ddb09608406d2633b
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sun Sep 27 15:34:12 2015 +0930

    configure: fix openjpeg detection
    
    - configure was failing when enable_libopenjpeg="auto" and openjpeg not found
    - fix header check for pre 1.4 versions
    
    Bug 92135

diff --git a/configure.ac b/configure.ac
index 4bc1524..bfdfe23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -219,14 +219,14 @@ if test x$enable_libopenjpeg = xopenjpeg1 || test x$enable_libopenjpeg = xauto;
       [openjpeg1="yes"
        LIBOPENJPEG_LIBS="-lopenjpeg"],[openjpeg_header=no])
      AC_CHECK_HEADERS([openjpeg.h],,
-		      [openjpeg="no"])])
+		      [openjpeg_header="no"])])
 fi
 
 dnl test for libopenjpeg2
 if test x$openjpeg1 = xno; then
   if test x$enable_libopenjpeg = xopenjpeg2 || test x$enable_libopenjpeg = xauto; then
     PKG_CHECK_MODULES(LIBOPENJPEG, libopenjp2,
-                      [openjpeg2=yes],[])
+                      [openjpeg2=yes],[openjpeg2=no])
   fi
 fi
 


More information about the poppler mailing list