foxygit / doom Log in
commit 6e3418c6a590537a0a2879ac1fbaef44ec22cc23
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Wed Jan 23 12:18:35 2019 +0100
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Wed Jan 23 12:38:57 2019 +0100

    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.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index f4733b0d..f12eae68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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(