Check for png_read_destroy(), since newer versions of libpng do not

provide (or export) this function.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2001-10-19 14:04:08 +00:00
parent 874fc2ecb0
commit 461002c3ad
8 changed files with 28 additions and 15 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
dnl -*- sh -*-
dnl the "configure" script is made from this by running GNU "autoconf"
dnl
dnl "$Id: configure.in,v 1.33.2.31.2.11 2001/10/18 20:47:10 easysw Exp $"
dnl "$Id: configure.in,v 1.33.2.31.2.12 2001/10/19 14:04:08 easysw Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
@@ -203,7 +203,7 @@ AC_CHECK_HEADER(png.h,
AC_DEFINE(HAVE_LIBPNG)
IMAGELIBS="-lpng -lm$IMAGELIBS"
LIBS="-lpng -lm $LIBS"
AC_CHECK_FUNCS(png_get_valid png_set_tRNS_to_alpha)))
AC_CHECK_FUNCS(png_get_valid png_set_tRNS_to_alpha png_read_destroy)))
dnl Restore original LIBS settings...
LIBS="$SAVELIBS"
@@ -474,5 +474,5 @@ AC_OUTPUT(makeinclude fltk-config)
chmod +x fltk-config
dnl
dnl End of "$Id: configure.in,v 1.33.2.31.2.11 2001/10/18 20:47:10 easysw Exp $".
dnl End of "$Id: configure.in,v 1.33.2.31.2.12 2001/10/19 14:04:08 easysw Exp $".
dnl