shithub: choc

Download patch

ref: 6e3418c6a590537a0a2879ac1fbaef44ec22cc23
parent: 2f5571d72c555845a9103e6974ae9d3240d1aa1d
author: Fabian Greffrath <fabian@greffrath.com>
date: Wed Jan 23 07:18:35 EST 2019

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.

--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@
     [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(