[vlc-devel] [PATCH 2/2] configure: require libpng to implement	png_set_alpha_mode()
    Sean McGovern 
    gseanmcg at gmail.com
       
    Sat Apr 15 16:19:20 CEST 2017
    
    
  
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 517ddca..cc54fad 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
-- 
1.7.9.2
    
    
More information about the vlc-devel
mailing list