Skip to content

Commit

Permalink
Updates install source for libpng
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Mar 18, 2017
1 parent a6ca987 commit 94673bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,11 @@ AS_CASE([${host_os}], [*linux*],
[AC_MSG_ERROR([dl library is required but was not found.])])],
[AC_SUBST([dl_LIBS], [])])

# Require png of at least version 1.6.27 and output ${png_CPPFLAGS/LIBS/PKG}.
# Require png of at least version 1.6.29 and output ${png_CPPFLAGS/LIBS/PKG}.
#------------------------------------------------------------------------------
AS_CASE([${with_png}], [yes],
[PKG_CHECK_MODULES([png], [libpng >= 1.6.27])
AC_SUBST([png_PKG], ['libpng >= 1.6.27'])
[PKG_CHECK_MODULES([png], [libpng >= 1.6.29])
AC_SUBST([png_PKG], ['libpng >= 1.6.29'])
AC_SUBST([png_CPPFLAGS], [${png_CFLAGS}])
AC_MSG_NOTICE([png_CPPFLAGS : ${png_CPPFLAGS}])
AC_MSG_NOTICE([png_LIBS : ${png_LIBS}])],
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ ZLIB_ARCHIVE="v1.2.9.tar.gz"

# PNG archive.
#------------------------------------------------------------------------------
PNG_URL="http://downloads.sourceforge.net/project/libpng/libpng16/1.6.27/libpng-1.6.27.tar.xz"
PNG_ARCHIVE="libpng-1.6.27.tar.xz"
PNG_URL="http://downloads.sourceforge.net/project/libpng/libpng16/1.6.29/libpng-1.6.29.tar.xz"
PNG_ARCHIVE="libpng-1.6.29.tar.xz"

# QREncode archive.
#------------------------------------------------------------------------------
Expand Down

0 comments on commit 94673bd

Please sign in to comment.