* configure.ac (LIBONG): Do not test for libpng if NS_IMPL_COCOA.
+2014-05-15 Jan Djärv <jan.h.d@swipnet.se>
+
+ * configure.ac (LIBONG): Do not test for libpng if NS_IMPL_COCOA.
+
2014-05-13 Dmitry Antipov <dmantipov@yandex.ru>
* configure.ac (HAVE_XFIXES): Define if available.
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])