mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
pngdec: fix build with libpng versions between 1.2 and 1.5.1 (revised)
https://bugzilla.gnome.org/show_bug.cgi?id=765927
This commit is contained in:
parent
5615ec59c4
commit
39785d9cc3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue