Source

gd-libgd / src / gddemo.c

Diff from to

src/gddemo.c

 int
 main (void)
 {
+#ifdef HAVE_LIBPNG
   /* Input and output files */
   FILE *in;
   FILE *out;
     {
       gdImageDestroy (im_in);
     }
+#else
+  fprintf(stderr,"No PNG library support.\n");
+#endif /* HAVE_LIBPNG */
   return 0;
 }