aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-05-15 23:09:34 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-05-15 23:09:34 +0000
commitf402916e4ab1b8d44360958c6bc23cd74672da61 (patch)
treecbaa5447861cf350186b67132b30ac153c3cf1e9 /configure
parent26c520217300750cee241fcfc1f70a0c279b96a7 (diff)
downloadffmpeg-f402916e4ab1b8d44360958c6bc23cd74672da61.tar.gz
Add a check for bzlib; used in the Matroska demuxer.
Originally committed as revision 13175 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 6848e40e87..898b7f182c 100755
--- a/configure
+++ b/configure
@@ -132,6 +132,7 @@ show_help(){
echo " --disable-network disable network support [default=no]"
echo " --disable-ipv6 disable ipv6 support [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-debug disable debugging symbols"
echo " --disable-mpegaudio-hp faster (but less accurate)"
@@ -630,6 +631,7 @@ CONFIG_LIST="
avfilter_lavf
avisynth
beos_netserver
+ bzlib
ffmpeg
ffplay
ffserver
@@ -917,6 +919,7 @@ cpu="generic"
target_os=$(tolower $(uname -s))
# libraries
+enable bzlib
enable zlib
# configurable options
@@ -1591,6 +1594,7 @@ if ! enabled_any memalign memalign_hack && enabled need_memalign ; then
fi
enabled zlib && check_lib zlib.h zlibVersion -lz || disable zlib
+enabled bzlib && check_lib bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
# ffserver uses poll(),
# if it's not found we can emulate it using select().
@@ -1962,6 +1966,7 @@ echo "libvorbis enabled ${libvorbis-no}"
echo "x264 enabled ${libx264-no}"
echo "XviD enabled ${libxvid-no}"
echo "zlib enabled ${zlib-no}"
+echo "bzlib enabled ${bzlib-no}"
echo
for type in decoder encoder parser demuxer muxer protocol filter bsf indev outdev; do