From: cristy Date: Wed, 1 Jan 2014 15:11:34 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3012 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99db387fa4d5c836a7eb90464589101801e606a8;p=imagemagick --- diff --git a/Makefile.in b/Makefile.in index c1d22ec92..c362aa7c1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2649,6 +2649,8 @@ LDFLAGS = @LDFLAGS@ LFS_CPPFLAGS = @LFS_CPPFLAGS@ LIBEXEC_DIR = @LIBEXEC_DIR@ LIBOBJS = @LIBOBJS@ +LIBOPENJP2_CFLAGS = @LIBOPENJP2_CFLAGS@ +LIBOPENJP2_LIBS = @LIBOPENJP2_LIBS@ LIBRARY_EXTRA_CPPFLAGS = @LIBRARY_EXTRA_CPPFLAGS@ LIBRARY_PATH = @LIBRARY_PATH@ LIBS = @LIBS@ @@ -3634,6 +3636,7 @@ coders_jp2_la_SOURCES = coders/jp2.c coders_jp2_la_CPPFLAGS = $(MODULE_EXTRA_CPPFLAGS) coders_jp2_la_LDFLAGS = $(MODULECOMMONFLAGS) coders_jp2_la_LIBADD = $(MAGICKCORE_LIBS) $(JP2_LIBS) $(JPEG_LIBS) $(MATH_LIBS) +# coders_jp2_la_LIBADD = $(MAGICKCORE_LIBS) $(LIBOPENJP2_LIBS) $(MATH_LIBS) # LABEL coder module coders_label_la_SOURCES = coders/label.c diff --git a/coders/Makefile.am b/coders/Makefile.am index 7b897b777..67c762cb8 100644 --- a/coders/Makefile.am +++ b/coders/Makefile.am @@ -603,6 +603,7 @@ coders_jp2_la_SOURCES = coders/jp2.c coders_jp2_la_CPPFLAGS = $(MODULE_EXTRA_CPPFLAGS) coders_jp2_la_LDFLAGS = $(MODULECOMMONFLAGS) coders_jp2_la_LIBADD = $(MAGICKCORE_LIBS) $(JP2_LIBS) $(JPEG_LIBS) $(MATH_LIBS) +# coders_jp2_la_LIBADD = $(MAGICKCORE_LIBS) $(LIBOPENJP2_LIBS) $(MATH_LIBS) # LABEL coder module coders_label_la_SOURCES = coders/label.c diff --git a/config/config.h.in b/config/config.h.in index c68368ada..68dfa1270 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -730,6 +730,9 @@ /* Define if you have LCMS (v1.11 or later) library */ #undef LCMS_DELEGATE +/* Define if you have OPENJP2 library */ +#undef LIBOPENJP2_DELEGATE + /* Directory where architecture-dependent files live. */ #undef LIBRARY_PATH diff --git a/configure b/configure index 2de3c8cac..4e93fd524 100755 --- a/configure +++ b/configure @@ -788,9 +788,6 @@ PANGO_DELEGATE_FALSE PANGO_DELEGATE_TRUE PANGO_LIBS PANGO_CFLAGS -OPENJPEG_LIBS -OPENJPEG_DELEGATE_FALSE -OPENJPEG_DELEGATE_TRUE OPENEXR_DELEGATE_FALSE OPENEXR_DELEGATE_TRUE OPENEXR_LIBS @@ -806,6 +803,10 @@ LQR_DELEGATE_FALSE LQR_DELEGATE_TRUE LQR_LIBS LQR_CFLAGS +LIBOPENJP2_DELEGATE_FALSE +LIBOPENJP2_DELEGATE_TRUE +LIBOPENJP2_LIBS +LIBOPENJP2_CFLAGS LCMS_LIBS LCMS_DELEGATE_FALSE LCMS_DELEGATE_TRUE @@ -1186,11 +1187,11 @@ with_jpeg with_jp2 with_lcms with_lcms2 +with_openjp2 with_lqr with_lzma with_mupdf with_openexr -with_openjpeg with_pango with_png with_rsvg @@ -1223,6 +1224,8 @@ FREETYPE_CFLAGS FREETYPE_LIBS GVC_CFLAGS GVC_LIBS +LIBOPENJP2_CFLAGS +LIBOPENJP2_LIBS LQR_CFLAGS LQR_LIBS LZMA_CFLAGS @@ -1956,11 +1959,11 @@ Optional Packages: --without-jp2 disable JPEG-2000 support --without-lcms disable lcms (v1.1X) support --without-lcms2 disable lcms (v2.X) support + --without-openjp2 disable OpenJP2 support --without-lqr disable Liquid Rescale support --without-lzma disable LZMA support --with-mupdf enable MUPDF support --without-openexr disable OpenEXR support - --without-openjpeg disable OPENJPEG support --without-pango disable PANGO support --without-png disable PNG support --with-rsvg enable RSVG support @@ -1999,6 +2002,10 @@ Some influential environment variables: linker flags for FREETYPE, overriding pkg-config GVC_CFLAGS C compiler flags for GVC, overriding pkg-config GVC_LIBS linker flags for GVC, overriding pkg-config + LIBOPENJP2_CFLAGS + C compiler flags for LIBOPENJP2, overriding pkg-config + LIBOPENJP2_LIBS + linker flags for LIBOPENJP2, overriding pkg-config LQR_CFLAGS C compiler flags for LQR, overriding pkg-config LQR_LIBS linker flags for LQR, overriding pkg-config LZMA_CFLAGS C compiler flags for LZMA, overriding pkg-config @@ -3696,7 +3703,7 @@ MAGICK_PATCHLEVEL_VERSION=0 MAGICK_VERSION=7.0.0-0 -MAGICK_SVN_REVISION=14085:14090M +MAGICK_SVN_REVISION=14085:14096M # Substitute library versioning @@ -30202,6 +30209,122 @@ fi +# +# Check for the OpenJP2 delegate library. +# + +# Check whether --with-openjp2 was given. +if test "${with_openjp2+set}" = set; then : + withval=$with_openjp2; with_openjp2=$withval +else + with_openjp2='yes' +fi + + +if test "$with_openjp2" != 'yes'; then + DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openjp2=$with_openjp2 " +fi + +have_openjp2='no' +LIBOPENJP2_CFLAGS="" +LIBOPENJP2_LIBS="" +LIBOPENJP2_PKG="" +if test "x$with_openjp2" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5 +$as_echo "-------------------------------------------------------------" >&6; } + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOPENJP2" >&5 +$as_echo_n "checking for LIBOPENJP2... " >&6; } + +if test -n "$LIBOPENJP2_CFLAGS"; then + pkg_cv_LIBOPENJP2_CFLAGS="$LIBOPENJP2_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenjp2 >= 2.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libopenjp2 >= 2.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBOPENJP2_CFLAGS=`$PKG_CONFIG --cflags "libopenjp2 >= 2.0.0" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$LIBOPENJP2_LIBS"; then + pkg_cv_LIBOPENJP2_LIBS="$LIBOPENJP2_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenjp2 >= 2.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libopenjp2 >= 2.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBOPENJP2_LIBS=`$PKG_CONFIG --libs "libopenjp2 >= 2.0.0" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + LIBOPENJP2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libopenjp2 >= 2.0.0" 2>&1` + else + LIBOPENJP2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libopenjp2 >= 2.0.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBOPENJP2_PKG_ERRORS" >&5 + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_openjp2=no +elif test $pkg_failed = untried; then + have_openjp2=no +else + LIBOPENJP2_CFLAGS=$pkg_cv_LIBOPENJP2_CFLAGS + LIBOPENJP2_LIBS=$pkg_cv_LIBOPENJP2_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_openjp2=yes +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 +$as_echo "" >&6; } +fi + +if test "$have_openjp2" = 'yes'; then + +$as_echo "#define LIBOPENJP2_DELEGATE 1" >>confdefs.h + + if test "$build_modules" = 'no'; then + CFLAGS="$LIBOPENJP2_CFLAGS $CFLAGS" + fi +fi + + if test "$have_openjp2" = 'yes'; then + LIBOPENJP2_DELEGATE_TRUE= + LIBOPENJP2_DELEGATE_FALSE='#' +else + LIBOPENJP2_DELEGATE_TRUE='#' + LIBOPENJP2_DELEGATE_FALSE= +fi + + + + + + # # Check for the LQR (Liquid Rescale) delegate library. # @@ -30649,117 +30772,6 @@ fi -# -# Check for OPENJPEG delegate library. -# - -# Check whether --with-openjpeg was given. -if test "${with_openjpeg+set}" = set; then : - withval=$with_openjpeg; with_openjpeg=$withval -else - with_openjpeg='yes' -fi - - -if test "$with_openjpeg" != 'yes'; then - DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openjpeg=$with_openjpeg " -fi - -have_openjpeg='no' -OPENJPEG_LIBS='' -if test "$with_openjpeg" != 'no'; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5 -$as_echo "-------------------------------------------------------------" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENJPEG" >&5 -$as_echo_n "checking for OPENJPEG... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 -$as_echo "" >&6; } - failed=0 - passed=0 - ac_fn_c_check_header_mongrel "$LINENO" "openjpeg-1.5/openjpeg.h" "ac_cv_header_openjpeg_1_5_openjpeg_h" "$ac_includes_default" -if test "x$ac_cv_header_openjpeg_1_5_openjpeg_h" = xyes; then : - passed=`expr $passed + 1` -else - failed=`expr $failed + 1` -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opj_setup_decoder in -lopenjpeg" >&5 -$as_echo_n "checking for opj_setup_decoder in -lopenjpeg... " >&6; } -if ${ac_cv_lib_openjpeg_opj_setup_decoder+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lopenjpeg -lopenjpeg $FREETYPE_LIBS $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char opj_setup_decoder (); -int -main () -{ -return opj_setup_decoder (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_openjpeg_opj_setup_decoder=yes -else - ac_cv_lib_openjpeg_opj_setup_decoder=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openjpeg_opj_setup_decoder" >&5 -$as_echo "$ac_cv_lib_openjpeg_opj_setup_decoder" >&6; } -if test "x$ac_cv_lib_openjpeg_opj_setup_decoder" = xyes; then : - passed=`expr $passed + 1` -else - failed=`expr $failed + 1` -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OPENJPEG package is complete" >&5 -$as_echo_n "checking if OPENJPEG package is complete... " >&6; } - if test $passed -gt 0; then - if test $failed -gt 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5 -$as_echo "no -- some components failed test" >&6; } - have_openjpeg='no (failed tests)' - else - OPENJPEG_LIBS='-lopenjpeg' - LIBS="$OPENJPEG_LIBS $LIBS" - -$as_echo "#define OPENJPEG_DELEGATE 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_openjpeg='yes' - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi -fi - if test "$have_openjpeg" = 'yes'; then - OPENJPEG_DELEGATE_TRUE= - OPENJPEG_DELEGATE_FALSE='#' -else - OPENJPEG_DELEGATE_TRUE='#' - OPENJPEG_DELEGATE_FALSE= -fi - - - - - # # Check for PANGO delegate library. # @@ -35816,8 +35828,8 @@ fi if test "$have_openexr" = 'yes' ; then MAGICK_DELEGATES="$MAGICK_DELEGATES openexr" fi -if test "$have_openjpeg" = 'yes' ; then - MAGICK_DELEGATES="$MAGICK_DELEGATES openjpeg" +if test "$have_openjp2" = 'yes' ; then + MAGICK_DELEGATES="$MAGICK_DELEGATES openjp2" fi if test "$have_pango" = 'yes' ; then MAGICK_DELEGATES="$MAGICK_DELEGATES pango" @@ -36321,6 +36333,10 @@ if test -z "${LCMS_DELEGATE_TRUE}" && test -z "${LCMS_DELEGATE_FALSE}"; then as_fn_error $? "conditional \"LCMS_DELEGATE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${LIBOPENJP2_DELEGATE_TRUE}" && test -z "${LIBOPENJP2_DELEGATE_FALSE}"; then + as_fn_error $? "conditional \"LIBOPENJP2_DELEGATE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${LQR_DELEGATE_TRUE}" && test -z "${LQR_DELEGATE_FALSE}"; then as_fn_error $? "conditional \"LQR_DELEGATE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -36337,10 +36353,6 @@ if test -z "${OPENEXR_DELEGATE_TRUE}" && test -z "${OPENEXR_DELEGATE_FALSE}"; th as_fn_error $? "conditional \"OPENEXR_DELEGATE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${OPENJPEG_DELEGATE_TRUE}" && test -z "${OPENJPEG_DELEGATE_FALSE}"; then - as_fn_error $? "conditional \"OPENJPEG_DELEGATE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${PANGO_DELEGATE_TRUE}" && test -z "${PANGO_DELEGATE_FALSE}"; then as_fn_error $? "conditional \"PANGO_DELEGATE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -39100,13 +39112,13 @@ JPEG v1 --with-jpeg=$with_jpeg $have_jpeg JPEG-2000 --with-jp2=$with_jp2 $have_jp2 LCMS v1 --with-lcms=$with_lcms $have_lcms LCMS v2 --with-lcms2=$with_lcms2 $have_lcms2 +LIBJPEG2 --with-openjp2=$with_openjp2 $have_openjp2 LQR --with-lqr=$with_lqr $have_lqr LTDL --with-ltdl=$with_ltdl $have_ltdl LZMA --with-lzma=$with_lzma $have_lzma Magick++ --with-magick-plus-plus=$with_magick_plus_plus $have_magick_plus_plus MUPDF --with-mupdf=$with_mupdf $have_mupdf OpenEXR --with-openexr=$with_openexr $have_openexr -OpenJPEG --with-openjpeg=$with_openjpeg $have_openjpeg PANGO --with-pango=$with_pango $have_pango PERL --with-perl=$with_perl $have_perl PNG --with-png=$with_png $have_png @@ -39180,13 +39192,13 @@ JPEG v1 --with-jpeg=$with_jpeg $have_jpeg JPEG-2000 --with-jp2=$with_jp2 $have_jp2 LCMS v1 --with-lcms=$with_lcms $have_lcms LCMS v2 --with-lcms2=$with_lcms2 $have_lcms2 +LIBJPEG2 --with-openjp2=$with_openjp2 $have_openjp2 LQR --with-lqr=$with_lqr $have_lqr LTDL --with-ltdl=$with_ltdl $have_ltdl LZMA --with-lzma=$with_lzma $have_lzma Magick++ --with-magick-plus-plus=$with_magick_plus_plus $have_magick_plus_plus MUPDF --with-mupdf=$with_mupdf $have_mupdf OpenEXR --with-openexr=$with_openexr $have_openexr -OpenJPEG --with-openjpeg=$with_openjpeg $have_openjpeg PANGO --with-pango=$with_pango $have_pango PERL --with-perl=$with_perl $have_perl PNG --with-png=$with_png $have_png diff --git a/configure.ac b/configure.ac index aa383e5e7..d0a5828e5 100755 --- a/configure.ac +++ b/configure.ac @@ -2428,6 +2428,43 @@ fi AC_SUBST(LCMS_LIBS) +dnl =========================================================================== + +# +# Check for the OpenJP2 delegate library. +# +AC_ARG_WITH([openjp2], + [AC_HELP_STRING([--without-openjp2], + [disable OpenJP2 support])], + [with_openjp2=$withval], + [with_openjp2='yes']) + +if test "$with_openjp2" != 'yes'; then + DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openjp2=$with_openjp2 " +fi + +have_openjp2='no' +LIBOPENJP2_CFLAGS="" +LIBOPENJP2_LIBS="" +LIBOPENJP2_PKG="" +if test "x$with_openjp2" = "xyes"; then + AC_MSG_RESULT([-------------------------------------------------------------]) + PKG_CHECK_MODULES(LIBOPENJP2,[libopenjp2 >= 2.0.0], have_openjp2=yes, have_openjp2=no) + AC_MSG_RESULT([]) +fi + +if test "$have_openjp2" = 'yes'; then + AC_DEFINE(LIBOPENJP2_DELEGATE,1,Define if you have OPENJP2 library) + if test "$build_modules" = 'no'; then + CFLAGS="$LIBOPENJP2_CFLAGS $CFLAGS" + fi +fi + +AM_CONDITIONAL(LIBOPENJP2_DELEGATE, test "$have_openjp2" = 'yes') +AC_SUBST(LIBOPENJP2_CFLAGS) +AC_SUBST(LIBOPENJP2_LIBS) + + dnl =========================================================================== # @@ -2571,51 +2608,6 @@ AM_CONDITIONAL(OPENEXR_DELEGATE, test "$have_openexr" = 'yes') AC_SUBST(OPENEXR_CFLAGS) AC_SUBST(OPENEXR_LIBS) -dnl =========================================================================== - -# -# Check for OPENJPEG delegate library. -# -AC_ARG_WITH(openjpeg, - [AC_HELP_STRING([--without-openjpeg], - [disable OPENJPEG support])], - [with_openjpeg=$withval], - [with_openjpeg='yes']) - -if test "$with_openjpeg" != 'yes'; then - DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openjpeg=$with_openjpeg " -fi - -have_openjpeg='no' -OPENJPEG_LIBS='' -if test "$with_openjpeg" != 'no'; then - AC_MSG_RESULT([-------------------------------------------------------------]) - AC_MSG_CHECKING([for OPENJPEG]) - AC_MSG_RESULT([]) - failed=0 - passed=0 - AC_CHECK_HEADER(openjpeg-1.5/openjpeg.h,passed=`expr $passed + 1`,failed=`expr $failed + 1`,) - AC_CHECK_LIB(openjpeg,opj_setup_decoder,passed=`expr $passed + 1`,failed=`expr $failed + 1`,-lopenjpeg $FREETYPE_LIBS) - AC_MSG_CHECKING([if OPENJPEG package is complete]) - if test $passed -gt 0; then - if test $failed -gt 0; then - AC_MSG_RESULT([no -- some components failed test]) - have_openjpeg='no (failed tests)' - else - OPENJPEG_LIBS='-lopenjpeg' - LIBS="$OPENJPEG_LIBS $LIBS" - AC_DEFINE(OPENJPEG_DELEGATE,1,Define if you have OPENJPEG library) - AC_MSG_RESULT([yes]) - have_openjpeg='yes' - fi - else - AC_MSG_RESULT([no]) - fi -fi -AM_CONDITIONAL(OPENJPEG_DELEGATE,test "$have_openjpeg" = 'yes') -AC_SUBST(OPENJPEG_LIBS) - - dnl =========================================================================== # @@ -3929,8 +3921,8 @@ fi if test "$have_openexr" = 'yes' ; then MAGICK_DELEGATES="$MAGICK_DELEGATES openexr" fi -if test "$have_openjpeg" = 'yes' ; then - MAGICK_DELEGATES="$MAGICK_DELEGATES openjpeg" +if test "$have_openjp2" = 'yes' ; then + MAGICK_DELEGATES="$MAGICK_DELEGATES openjp2" fi if test "$have_pango" = 'yes' ; then MAGICK_DELEGATES="$MAGICK_DELEGATES pango" @@ -4137,13 +4129,13 @@ JPEG v1 --with-jpeg=$with_jpeg $have_jpeg JPEG-2000 --with-jp2=$with_jp2 $have_jp2 LCMS v1 --with-lcms=$with_lcms $have_lcms LCMS v2 --with-lcms2=$with_lcms2 $have_lcms2 +LIBJPEG2 --with-openjp2=$with_openjp2 $have_openjp2 LQR --with-lqr=$with_lqr $have_lqr LTDL --with-ltdl=$with_ltdl $have_ltdl LZMA --with-lzma=$with_lzma $have_lzma Magick++ --with-magick-plus-plus=$with_magick_plus_plus $have_magick_plus_plus MUPDF --with-mupdf=$with_mupdf $have_mupdf OpenEXR --with-openexr=$with_openexr $have_openexr -OpenJPEG --with-openjpeg=$with_openjpeg $have_openjpeg PANGO --with-pango=$with_pango $have_pango PERL --with-perl=$with_perl $have_perl PNG --with-png=$with_png $have_png