diff --git a/configure.ac b/configure.ac index ac0b86e..a84637d 100644 --- a/configure.ac +++ b/configure.ac @@ -3042,7 +3042,6 @@ if test "${HAVE_X11}" = "yes"; then fi with_xpm=no with_jpeg=no - with_png=no with_gif=no with_tiff=no diff --git a/src/image.c b/src/image.c index 77e5523..ad31719 100644 --- a/src/image.c +++ b/src/image.c @@ -5459,7 +5459,7 @@ pbm_load (struct frame *f, struct image *img) PNG ***********************************************************************/ -#if defined (HAVE_XPM) || defined (HAVE_NS) || defined (USE_CAIRO) +#if defined (HAVE_PNG) || defined (HAVE_NS) || defined (USE_CAIRO) /* Function prototypes. */