Evas: bump libpng version to 1.2.10.

libpng 1.2.8 does not have the symbol png_set_expand_gray_1_2_4_to_8.
It seems that 1.2.10 has no problem, so we check for libpng >= 1.2.10
and we drop libpng 1.0.*


SVN revision: 64303
This commit is contained in:
Vincent Torri 2011-10-22 19:39:56 +00:00
parent 880a34d2a6
commit 01c03642a2
1 changed files with 2 additions and 9 deletions

View File

@ -179,7 +179,7 @@ evas_image_loader_[]$1[]_libs=""
dnl libpng.pc is the latest version of libpng that ahs been installed.
dnl We check it first.
PKG_CHECK_MODULES([PNG],
[libpng],
[libpng >= 1.2.10],
[have_dep="yes" requirement="libpng"],
[have_dep="no"])
@ -199,18 +199,11 @@ fi
if test "x${have_dep}" = "xno" ; then
PKG_CHECK_MODULES([PNG],
[libpng12],
[libpng12 >= 1.2.10],
[have_dep="yes" requirement="libpng12"],
[have_dep="no"])
fi
if test "x${have_dep}" = "xno" ; then
PKG_CHECK_MODULES([PNG],
[libpng10],
[have_dep="yes" requirement="libpng10"],
[have_dep="no"])
fi
evas_image_loader_[]$1[]_cflags="${PNG_CFLAGS}"
evas_image_loader_[]$1[]_libs="${PNG_LIBS}"