From b623f93e3012b96b8aec68fbb64b1815af56601d Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 5 Apr 2006 15:44:17 +0000 Subject: - sync to 2.0.4 --- src/gdparttopng.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gdparttopng.c') diff --git a/src/gdparttopng.c b/src/gdparttopng.c index 03386b8..677a0b5 100644 --- a/src/gdparttopng.c +++ b/src/gdparttopng.c @@ -47,7 +47,11 @@ main (int argc, char **argv) gdImageDestroy (im); exit (1); } +#ifdef HAVE_LIBPNG gdImagePng (im, out); +#else + fprintf(stderr, "No PNG library support.\n"); +#endif fclose (out); gdImageDestroy (im); -- cgit v1.2.1