Fix yet another configure error on OSX.

* configure.ac (LIBONG): Do not test for libpng if NS_IMPL_COCOA.
This commit is contained in:
Jan Djärv 2014-05-15 18:54:44 +02:00
parent ddc30c996a
commit 440cef5fc5
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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.

View file

@ -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])