Commit 440cef5f authored by Jan Djärv's avatar Jan Djärv

Fix yet another configure error on OSX.

* configure.ac (LIBONG): Do not test for libpng if NS_IMPL_COCOA.
parent ddc30c99
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.
......
......@@ -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])
......
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