configure: relax libpng version check to >= 1.2.50
Since this version is provided by Ubuntu trusty, we will get Travis.CI builds with PNG support.
This commit is contained in:
parent
2f5571d72c
commit
6e3418c6a5
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ AS_HELP_STRING([--without-libpng],
|
|||
[with_libpng=check]
|
||||
])
|
||||
AS_IF([test "x$with_libpng" != xno], [
|
||||
PKG_CHECK_MODULES(PNG, libpng >= 1.6.10, [
|
||||
PKG_CHECK_MODULES(PNG, libpng >= 1.2.50, [
|
||||
AC_DEFINE([HAVE_LIBPNG], [1], [libpng installed])
|
||||
], [
|
||||
AS_IF([test "x$with_libpng" != xcheck], [AC_MSG_FAILURE(
|
||||
|
|
|
|||
Loading…
Reference in a new issue