Added libpng 1.5 detection. Dropped libpng 1.0.* explicit detection (we are in 2011 !). Patch by Winfried.

This commit is contained in:
Vincent Torri 2011-07-23 08:32:09 +00:00
parent a58987d082
commit fda0cada0e
2 changed files with 6 additions and 3 deletions

View File

@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : added
July 23, 2011
+ [vtorri] Added libpng 1.5 detection. Dropped libpng 1.0.* explicit detection (we are in 2011 !). Patch by Winfried.
July 13, 2011
+ [vtorri] added 'libopenjpeg-jpwl.pc.in'
* [vtorri] fixed substitution in libopenjpeg1.pc.in

View File

@ -222,13 +222,13 @@ AC_MSG_RESULT([${want_png}])
if test "x${want_png}" = "xyes" ; then
PKG_CHECK_MODULES([PNG], [libpng14],
PKG_CHECK_MODULES([PNG], [libpng15],
[have_libpng="yes"],
[
PKG_CHECK_MODULES([PNG], [libpng12],
PKG_CHECK_MODULES([PNG], [libpng14],
[have_libpng="yes"],
[
PKG_CHECK_MODULES([PNG], [libpng10],
PKG_CHECK_MODULES([PNG], [libpng12],
[have_libpng="yes"],
[
PKG_CHECK_MODULES([PNG], [libpng],