[vlc-commits] configure: require libpng to implement png_set_alpha_mode()
Sean McGovern
git at videolan.org
Sat Apr 15 18:23:23 CEST 2017
vlc | branch: master | Sean McGovern <gseanmcg at gmail.com> | Sat Apr 15 10:19:20 2017 -0400| [9def796542a9b1f0803317b1d829347dffc144b7] | committer: Rémi Denis-Courmont
configure: require libpng to implement png_set_alpha_mode()
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9def796542a9b1f0803317b1d829347dffc144b7
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 517ddcac79..cc54fad48c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2714,7 +2714,7 @@ AS_IF([test "${enable_png}" != "no"], [
AC_CHECK_HEADERS(png.h, [
VLC_SAVE_FLAGS
LDFLAGS="${LDFLAGS} -lz $LIBM"
- AC_CHECK_LIB(png, png_set_rows, [
+ AC_CHECK_LIB(png, png_set_alpha_mode, [
VLC_ADD_PLUGIN([png])
], [], [-lz $LIBM])
VLC_RESTORE_FLAGS
More information about the vlc-commits
mailing list