diff options
author | Gildas Bazin <gbazi@altern.org> | 2006-01-21 18:36:32 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-01-21 18:36:32 +0000 |
commit | 04f46ced8c6e309b561ba315ef7d3a5421bd26fa (patch) | |
tree | dc2131c4551d25a00a7d7fe62952a81ac8c47678 /configure | |
parent | 62327e2852ffe1c3088feafa0dfbd4ddb6632064 (diff) | |
download | ffmpeg-04f46ced8c6e309b561ba315ef7d3a5421bd26fa.tar.gz |
Add --disable-protocols option to configure to disable I/O protocol from
libavformat. Also fix build with --disable-muxers and --disable-ffserver.
patch by Gildas Bazin < gbazin **@** altern **.** org >
Originally committed as revision 4879 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -74,6 +74,7 @@ echo " --disable-debug disable debugging symbols" echo " --disable-opts disable compiler optimizations" echo " --disable-mpegaudio-hp faster (but less accurate)" echo " MPEG audio decoding [default=no]" +echo " --disable-protocols disable I/O protocols support [default=no]" echo " --disable-ffserver disable ffserver build" echo " --disable-ffplay disable ffplay build" echo " --enable-small optimize for size instead of speed" @@ -220,6 +221,7 @@ mpegaudio_hp="yes" SHFLAGS='-shared -Wl,-soname,$@.$(LIBMAJOR)' netserver="no" need_inet_aton="no" +protocols="yes" ffserver="yes" ffplay="yes" LIBOBJFLAGS="" @@ -551,6 +553,8 @@ for opt do ;; --disable-mpegaudio-hp) mpegaudio_hp="no" ;; + --disable-protocols) protocols="no"; network="no"; ffserver="no" + ;; --disable-ffserver) ffserver="no" ;; --disable-ffplay) ffplay="no" @@ -587,7 +591,7 @@ for opt do ;; --disable-decoders) CODEC_LIST="`echo $CODEC_LIST | sed 's/[-_a-zA-Z0-9]*decoder//g'`" ;; - --disable-muxers) muxers="no" + --disable-muxers) muxers="no"; ffserver="no" ;; --disable-demuxers) demuxers="no" ;; @@ -1731,6 +1735,11 @@ if test "$simpleidct" = "yes" ; then echo "#define SIMPLE_IDCT 1" >> $TMPH fi +if test "$protocols" = "yes" ; then + echo "#define CONFIG_PROTOCOLS 1" >> $TMPH + echo "CONFIG_PROTOCOLS=yes" >> config.mak +fi + if test "$ffserver" = "yes" ; then echo "#define CONFIG_FFSERVER 1" >> $TMPH echo "CONFIG_FFSERVER=yes" >> config.mak |