Commit 9def7965 authored by Sean McGovern's avatar Sean McGovern Committed by Rémi Denis-Courmont
Browse files

configure: require libpng to implement png_set_alpha_mode()


Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent df7d1159
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment