[ooo-build-commit] .: configure.in
Thomas Klausner
tklausner at kemper.freedesktop.org
Fri Oct 1 02:26:38 PDT 2010
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b0193ffd2790941eec5c52daa405f8df319d9107
Author: Thomas Klausner <wiz at NetBSD.org>
Date: Fri Oct 1 11:25:25 2010 +0200
Look for png library using pkg-check.
Ok: Petr Mladek.
diff --git a/configure.in b/configure.in
index 9527749..2ec9184 100644
--- a/configure.in
+++ b/configure.in
@@ -703,7 +703,7 @@ if test "z$with_java" = "zno"; then
fi
AC_CHECK_HEADER(security/pam_appl.h, have_pam=true, have_pam=false)
-AC_CHECK_HEADER(png.h, have_png=true, have_png=false)
+PKG_CHECK_MODULES([png], [libpng], have_png=true, have_png=false)
AC_CHECK_HEADER(zlib.h, have_zlib=true, have_zlib=false)
if test "z$with_win32" = "z" -a "z`uname -s`" != "zDarwin" -a "z$with_distro" != "zCrossWin32" -a "z$with_distro" != "zSlackware"; then
More information about the ooo-build-commit
mailing list