diff options
author | Andreas Frisch <afrisch@make.tv> | 2017-10-20 11:08:24 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-10-20 11:47:57 +0200 |
commit | 39785d9cc38d3ab4fb657d3b2df6dc61d4ad2a6d (patch) | |
tree | 1bc59c7da1c36ce3b91061c12708493036d772b1 /configure.ac | |
parent | 5615ec59c4dd0fae7eab5f9a6967646ac87b8ac8 (diff) |
pngdec: fix build with libpng versions between 1.2 and 1.5.1 (revised)
https://bugzilla.gnome.org/show_bug.cgi?id=765927
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 69ae3d10b..fe21ba747 100644 --- a/configure.ac +++ b/configure.ac @@ -702,7 +702,7 @@ translit(dnm, m, l) AM_CONDITIONAL(USE_LIBPNG, true) AG_GST_CHECK_FEATURE(LIBPNG, [Portable Network Graphics library], png, [ AG_GST_PKG_CHECK_MODULES(LIBPNG, libpng >= 1.2) if test $HAVE_LIBPNG = "yes"; then - PKG_CHECK_MODULES(LIBPNG, libpng >= 1.5.1, [ + PKG_CHECK_MODULES(LIBPNG_1_5, libpng >= 1.5.1, [ AC_DEFINE(HAVE_LIBPNG_1_5, 1, [Defined if libpng version is 1.5.1 or newer]) ], [true]) fi |