提交 f402916e 编写于 作者: A Aurelien Jacobs

Add a check for bzlib; used in the Matroska demuxer.

Originally committed as revision 13175 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 26c52021
...@@ -132,6 +132,7 @@ show_help(){ ...@@ -132,6 +132,7 @@ show_help(){
echo " --disable-network disable network support [default=no]" echo " --disable-network disable network support [default=no]"
echo " --disable-ipv6 disable ipv6 support [default=no]" echo " --disable-ipv6 disable ipv6 support [default=no]"
echo " --disable-zlib disable zlib [default=no]" echo " --disable-zlib disable zlib [default=no]"
echo " --disable-bzlib disable bzlib [default=no]"
echo " --disable-vhook disable video hooking support" echo " --disable-vhook disable video hooking support"
echo " --disable-debug disable debugging symbols" echo " --disable-debug disable debugging symbols"
echo " --disable-mpegaudio-hp faster (but less accurate)" echo " --disable-mpegaudio-hp faster (but less accurate)"
...@@ -630,6 +631,7 @@ CONFIG_LIST=" ...@@ -630,6 +631,7 @@ CONFIG_LIST="
avfilter_lavf avfilter_lavf
avisynth avisynth
beos_netserver beos_netserver
bzlib
ffmpeg ffmpeg
ffplay ffplay
ffserver ffserver
...@@ -917,6 +919,7 @@ cpu="generic" ...@@ -917,6 +919,7 @@ cpu="generic"
target_os=$(tolower $(uname -s)) target_os=$(tolower $(uname -s))
# libraries # libraries
enable bzlib
enable zlib enable zlib
# configurable options # configurable options
...@@ -1591,6 +1594,7 @@ if ! enabled_any memalign memalign_hack && enabled need_memalign ; then ...@@ -1591,6 +1594,7 @@ if ! enabled_any memalign memalign_hack && enabled need_memalign ; then
fi fi
enabled zlib && check_lib zlib.h zlibVersion -lz || disable zlib enabled zlib && check_lib zlib.h zlibVersion -lz || disable zlib
enabled bzlib && check_lib bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
# ffserver uses poll(), # ffserver uses poll(),
# if it's not found we can emulate it using select(). # if it's not found we can emulate it using select().
...@@ -1962,6 +1966,7 @@ echo "libvorbis enabled ${libvorbis-no}" ...@@ -1962,6 +1966,7 @@ echo "libvorbis enabled ${libvorbis-no}"
echo "x264 enabled ${libx264-no}" echo "x264 enabled ${libx264-no}"
echo "XviD enabled ${libxvid-no}" echo "XviD enabled ${libxvid-no}"
echo "zlib enabled ${zlib-no}" echo "zlib enabled ${zlib-no}"
echo "bzlib enabled ${bzlib-no}"
echo echo
for type in decoder encoder parser demuxer muxer protocol filter bsf indev outdev; do for type in decoder encoder parser demuxer muxer protocol filter bsf indev outdev; do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册