Commit e7a3faac authored by gbazin's avatar gbazin
Browse files

* configure.ac: should fix detection of libpng.

parent 293cd2f0
......@@ -2367,6 +2367,7 @@ dnl
dnl png
dnl
AC_CHECK_HEADERS(png.h, [
LDFLAGS="${LDFLAGS_save} -lz"
AC_CHECK_LIB(png, png_set_rows, [
VLC_ADD_LDFLAGS([logo],[-lpng -lz])
VLC_ADD_PLUGINS([logo])
......@@ -2374,6 +2375,7 @@ AC_CHECK_HEADERS(png.h, [
VLC_ADD_LDFLAGS([cvdsub],[-lpng -lz -lm])
AC_DEFINE(HAVE_LIBPNG, [], [Define if you have the PNG library: libpng])])
])
LDFLAGS="${LDFLAGS_save}"
dnl
dnl Video plugins
......
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