diff options
author | wm4 <wm4@nowhere> | 2012-11-30 17:33:42 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-12-03 21:08:51 +0100 |
commit | 08a7cdbfdd8d676eeaf8ebfffe180d447466209d (patch) | |
tree | 49378b1a35e412d1234d4115dab16dbf3bc0a0ff /configure | |
parent | 358dc473146bd1fb6dec0ab41d9a9aa58b754d90 (diff) | |
download | mpv-08a7cdbfdd8d676eeaf8ebfffe180d447466209d.tar.bz2 mpv-08a7cdbfdd8d676eeaf8ebfffe180d447466209d.tar.xz |
configure: remove unused libpng detection
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -336,7 +336,6 @@ Optional features: Codecs: --enable-gif enable GIF support [autodetect] - --enable-png enable PNG input support [autodetect] --enable-mng enable MNG input support [autodetect] --enable-jpeg enable JPEG input/output support [autodetect] --enable-libcdio enable libcdio support [autodetect] @@ -425,7 +424,6 @@ _vdpau=auto _direct3d=auto _dsound=auto _nas=auto -_png=auto _mng=auto _jpeg=auto _gif=auto @@ -599,8 +597,6 @@ for ac_option do --disable-direct3d) _direct3d=no ;; --enable-dsound) _dsound=yes ;; --disable-dsound) _dsound=no ;; - --enable-png) _png=yes ;; - --disable-png) _png=no ;; --enable-mng) _mng=yes ;; --disable-mng) _mng=no ;; --enable-jpeg) _jpeg=yes ;; @@ -2197,29 +2193,6 @@ else fi -echocheck "PNG support" -if test "$_png" = auto ; then - _png=no -cat > $TMPC << EOF -#include <stdio.h> -#include <string.h> -#include <png.h> -int main(void) { - printf("png.h : %s\n", PNG_LIBPNG_VER_STRING); - printf("libpng: %s\n", png_libpng_ver); - return strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver); -} -EOF - cc_check -lpng -lz $_ld_lm && _png=yes -fi -echores "$_png" -if test "$_png" = yes ; then - def_png='#define CONFIG_PNG 1' - extra_ldflags="$extra_ldflags -lpng -lz" -else - def_png='#undef CONFIG_PNG' -fi - echocheck "MNG support" if test "$_mng" = auto ; then _mng=no @@ -3299,7 +3272,6 @@ NETWORKING = $networking OPENAL = $_openal OSS = $_ossaudio PE_EXECUTABLE = $_pe_executable -PNG = $_png PRIORITY = $_priority PULSE = $_pulse PORTAUDIO = $_portaudio @@ -3521,7 +3493,6 @@ $def_gl_win32 $def_gl_x11 $def_jpeg $def_mng -$def_png $def_v4l2 $def_vdpau $def_vm |