diff options
author | corvid <devnull@localhost> | 2015-05-28 21:15:21 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2015-05-28 21:15:21 +0000 |
commit | 485d42b5676ce9d324063f99312c1389941ea41e (patch) | |
tree | df03fef1e7063b01997120fcab464d55caf1319f /configure.ac | |
parent | a6408e70f9b4ddc942490cfbe1822f17cd1a2317 (diff) |
libpng 1.6 series works for me
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index aee37a47..be9c9c42 100644 --- a/configure.ac +++ b/configure.ac @@ -219,7 +219,10 @@ if test "x$enable_png" = "xyes"; then dnl Check if the user hasn't set the variable $PNG_CONFIG if test -z "$PNG_CONFIG"; then - PNG_CONFIG=`which libpng14-config` + PNG_CONFIG=`which libpng16-config` + if test -z "$PNG_CONFIG"; then + PNG_CONFIG=`which libpng14-config` + fi if test -z "$PNG_CONFIG"; then PNG_CONFIG=`which libpng12-config` fi @@ -245,7 +248,7 @@ dnl For debugging and to be user friendly AC_MSG_CHECKING([for libpng version]) png_version=`$PNG_CONFIG --version` case $png_version in - 1.[[024]].*) AC_MSG_RESULT([$png_version]) ;; + 1.[[0246]].*) AC_MSG_RESULT([$png_version]) ;; *) AC_MSG_RESULT([$png_version (unrecognised version)]) ;; esac |