diff options
Diffstat (limited to 'pixman/configure.ac')
-rw-r--r-- | pixman/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/configure.ac b/pixman/configure.ac index 21613e135..dc523df0f 100644 --- a/pixman/configure.ac +++ b/pixman/configure.ac @@ -804,7 +804,7 @@ AC_SUBST(TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR) dnl ================== dnl libpng -AC_CHECK_LIB([png], [png_write_info], [have_libpng=yes], [have_libpng=no]) +PKG_CHECK_MODULES(PNG, [libpng], have_libpng=yes, have_libpng=no) if test x$have_libpng = xyes; then AC_DEFINE([HAVE_LIBPNG], [1], [Whether we have libpng]) |