comparison configure @ 37160:bb15cab6c059

Add ZLIB_CONST to make the zlib API const-correct.
author reimar
date Sat, 23 Aug 2014 13:59:32 +0000
parents a9ceb566a008
children b25434b964e0
comparison
equal deleted inserted replaced
37159:d4fbf2eb4a04 37160:bb15cab6c059
6439 _zlib=no 6439 _zlib=no
6440 statement_check zlib.h 'inflate(0, Z_NO_FLUSH)' -lz && _zlib=yes 6440 statement_check zlib.h 'inflate(0, Z_NO_FLUSH)' -lz && _zlib=yes
6441 if test "$_zlib" = yes ; then 6441 if test "$_zlib" = yes ; then
6442 def_zlib='#define CONFIG_ZLIB 1' 6442 def_zlib='#define CONFIG_ZLIB 1'
6443 extra_ldflags="$extra_ldflags -lz" 6443 extra_ldflags="$extra_ldflags -lz"
6444 extra_cflags="$extra_cflags -DZLIB_CONST"
6444 # necessary for vf_screenshot 6445 # necessary for vf_screenshot
6445 mplayer_encoders="$mplayer_encoders PNG_ENCODER" 6446 mplayer_encoders="$mplayer_encoders PNG_ENCODER"
6446 else 6447 else
6447 def_zlib='#define CONFIG_ZLIB 0' 6448 def_zlib='#define CONFIG_ZLIB 0'
6448 libavdecoders=$(filter_out_component decoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M TSCC ZEROCODEC') 6449 libavdecoders=$(filter_out_component decoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M TSCC ZEROCODEC')