Add check for libpng/png.h as well as png.h, and include the appropriate

one as needed...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2002-04-24 18:29:06 +00:00
parent f87f7a7b14
commit 7b99f66d03
7 changed files with 59 additions and 27 deletions
+9 -4
View File
@@ -1,6 +1,6 @@
/* config.h. Generated automatically by configure. */
/*
* "$Id: config.os2x,v 1.1.2.4.2.4 2002/03/26 18:47:01 easysw Exp $"
* "$Id: config.os2x,v 1.1.2.4.2.5 2002/04/24 18:29:05 easysw Exp $"
*
* Configuration file for the Fast Light Tool Kit (FLTK).
* @configure_input@
@@ -31,7 +31,6 @@
#define FLTK_DOCDIR "/usr/local/share/doc/fltk"
/*
* BORDER_WIDTH:
*
@@ -197,6 +196,13 @@
#define HAVE_LIBZ 1
#define HAVE_LIBJPEG 1
/*
* Which header file do we include for libpng?
*/
#define HAVE_PNG_H
#undef HAVE_LIBPNG_PNG_H
/*
* Do we have the png_xyz() functions?
*/
@@ -205,7 +211,6 @@
/* #undef HAVE_PNG_SET_TRNS_TO_ALPHA */
#define HAVE_PNG_READ_DESTROY 1
/*
* Do we have POSIX threading?
*/
@@ -215,5 +220,5 @@
/*
* End of "$Id: config.os2x,v 1.1.2.4.2.4 2002/03/26 18:47:01 easysw Exp $".
* End of "$Id: config.os2x,v 1.1.2.4.2.5 2002/04/24 18:29:05 easysw Exp $".
*/