diff options
author | pierre <none@none> | 2006-04-05 15:44:17 +0000 |
---|---|---|
committer | pierre <none@none> | 2006-04-05 15:44:17 +0000 |
commit | b623f93e3012b96b8aec68fbb64b1815af56601d (patch) | |
tree | 7bf5d886b3e91f484f5b05c07581d33bfe1d2ead /src/gdparttopng.c | |
parent | 9403f3ad120b62d3f3b57bd99bf591914918ac7f (diff) | |
download | libgd-b623f93e3012b96b8aec68fbb64b1815af56601d.tar.gz |
- sync to 2.0.4GD_2_0_4
Diffstat (limited to 'src/gdparttopng.c')
-rw-r--r-- | src/gdparttopng.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |