changeset 2993:734ad5d562ef

png detect bug fixed
author pontscho
date Mon, 19 Nov 2001 09:43:55 +0000
parents ef58de7a942f
children 4e30e2c6dcb9
files configure
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Nov 19 01:57:27 2001 +0000
+++ b/configure	Mon Nov 19 09:43:55 2001 +0000
@@ -1538,6 +1538,10 @@
     # incompatible with the GNU libpng
     echores "disabled on irix (not GNU libpng)"
   else
+cat > $TMPC << EOF
+#include <png.h>
+int main(void) { return 0; }
+EOF
     cc_check  -lpng -lz -lm && _png=yes
     echores yes
   fi