From 440cef5fc5147af9d49396b8828721676e312658 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Thu, 15 May 2014 18:54:44 +0200 Subject: [PATCH] Fix yet another configure error on OSX. * configure.ac (LIBONG): Do not test for libpng if NS_IMPL_COCOA. --- ChangeLog | 4 ++++ configure.ac | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 072871cc821..86bbaac2740 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-05-15 Jan Djärv + + * configure.ac (LIBONG): Do not test for libpng if NS_IMPL_COCOA. + 2014-05-13 Dmitry Antipov * configure.ac (HAVE_XFIXES): Define if available. diff --git a/configure.ac b/configure.ac index bb1bdd84b29..5e30c49f2d2 100644 --- a/configure.ac +++ b/configure.ac @@ -3070,7 +3070,9 @@ AC_SUBST(LIBZ) HAVE_PNG=no LIBPNG= PNG_CFLAGS= -if test "${with_png}" != no; then +if test "${NS_IMPL_COCOA}" = yes; then + : # Nothing to do +elif test "${with_png}" != no; then # mingw32 loads the library dynamically. if test "$opsys" = mingw32; then AC_CHECK_HEADER([png.h], [HAVE_PNG=yes]) -- 2.39.5