Mercurial > mplayer.hg
comparison configure @ 29677:cc36b326fd9d
Disable libavcodec zlib decoder when zlib is not available, fixes compilation
in that case.
author | reimar |
---|---|
date | Sat, 26 Sep 2009 21:09:29 +0000 |
parents | 978b9a902bff |
children | b6f4746cedab |
comparison
equal
deleted
inserted
replaced
29676:812db1123f7a | 29677:cc36b326fd9d |
---|---|
6235 if test "$_zlib" = yes ; then | 6235 if test "$_zlib" = yes ; then |
6236 def_zlib='#define CONFIG_ZLIB 1' | 6236 def_zlib='#define CONFIG_ZLIB 1' |
6237 extra_ldflags="$extra_ldflags -lz" | 6237 extra_ldflags="$extra_ldflags -lz" |
6238 else | 6238 else |
6239 def_zlib='#define CONFIG_ZLIB 0' | 6239 def_zlib='#define CONFIG_ZLIB 0' |
6240 _libavdecoders=$(echo $_libavdecoders | sed -e s/FLASHSV_DECODER// -e s/PNG_DECODER// -e s/ZMBV_DECODER// -e s/DXA_DECODER// -e s/TSCC_DECODER//) | 6240 _libavdecoders=$(echo $_libavdecoders | sed -e s/FLASHSV_DECODER// -e s/PNG_DECODER// -e s/ZMBV_DECODER// -e s/DXA_DECODER// -e s/TSCC_DECODER// -e s/ZLIB_DECODER//) |
6241 _libavencoders=$(echo $_libavencoders | sed -e s/FLASHSV_ENCODER// -e s/PNG_ENCODER// -e s/ZMBV_ENCODER//) | 6241 _libavencoders=$(echo $_libavencoders | sed -e s/FLASHSV_ENCODER// -e s/PNG_ENCODER// -e s/ZMBV_ENCODER//) |
6242 fi | 6242 fi |
6243 echores "$_zlib" | 6243 echores "$_zlib" |
6244 | 6244 |
6245 | 6245 |