From f073eefe80df1bdf58df48a4262eb0d96bf97094 Mon Sep 17 00:00:00 2001
From: Themaister <maister@archlinux.us>
Date: Sat, 19 Jan 2013 02:36:37 +0100
Subject: [PATCH] Remove libpng from quickbuild.

---
 config.features.h   | 6 ------
 qb/config.params.sh | 3 +--
 retroarch.c         | 1 -
 3 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/config.features.h b/config.features.h
index 6854ad08f6..daf00f3575 100644
--- a/config.features.h
+++ b/config.features.h
@@ -128,12 +128,6 @@ static const bool _sdl_image_supp = true;
 static const bool _sdl_image_supp = false;
 #endif
 
-#ifdef HAVE_LIBPNG
-static const bool _libpng_supp = true;
-#else
-static const bool _libpng_supp = false;
-#endif
-
 #ifdef HAVE_FBO
 static const bool _fbo_supp = true;
 #else
diff --git a/qb/config.params.sh b/qb/config.params.sh
index 0e775ccd05..061beb6bee 100644
--- a/qb/config.params.sh
+++ b/qb/config.params.sh
@@ -15,7 +15,7 @@ HAVE_EGL=auto           # Enable EGL context support
 HAVE_VG=auto            # Enable OpenVG support
 HAVE_CG=auto            # Enable Cg shader support
 HAVE_LIBXML2=auto       # Enable libxml2 support
-HAVE_ZLIB=auto          # Enable zlib support (PNG decoding)
+HAVE_ZLIB=auto          # Enable zlib support (PNG decoding/encoding)
 HAVE_FBO=auto           # Enable render-to-texture (FBO) support
 HAVE_ALSA=auto          # Enable ALSA support
 HAVE_OSS=auto           # Enable OSS support
@@ -28,7 +28,6 @@ HAVE_PULSE=auto         # Enable PulseAudio support
 HAVE_FREETYPE=auto      # Enable FreeType support
 HAVE_XVIDEO=auto        # Enable XVideo support
 HAVE_SDL_IMAGE=auto     # Enable SDL_image support
-HAVE_LIBPNG=auto        # Enable libpng support
 HAVE_PYTHON=auto        # Enable Python 3 support for shaders
 HAVE_SINC=yes           # Disable SINC resampler
 HAVE_BSV_MOVIE=yes      # Disable BSV movie support
diff --git a/retroarch.c b/retroarch.c
index a3ff08113d..f12b2e09d1 100644
--- a/retroarch.c
+++ b/retroarch.c
@@ -602,7 +602,6 @@ static void print_features(void)
    _PSUPP(cg, "Cg", "Cg pixel shaders");
    _PSUPP(libxml2, "libxml2", "libxml2 XML parsing");
    _PSUPP(sdl_image, "SDL_image", "SDL_image image loading");
-   _PSUPP(libpng, "libpng", "libpng screenshot support");
    _PSUPP(fbo, "FBO", "OpenGL render-to-texture (multi-pass shaders)");
    _PSUPP(dynamic, "Dynamic", "Dynamic run-time loading of libretro library");
    _PSUPP(ffmpeg, "FFmpeg", "On-the-fly recording of gameplay with libavcodec");