aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2005-09-23 00:25:41 +0000
committerDiego Biurrun <diego@biurrun.de>2005-09-23 00:25:41 +0000
commita9e350952992f07f4b560385185f406fbbb752d7 (patch)
tree05d33876774bc092ffee92ecabd160ae3dc2205c /configure
parent288f1e6815fc52196fd1f443d305a4822bf371a2 (diff)
downloadffmpeg-a9e350952992f07f4b560385185f406fbbb752d7.tar.gz
Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at some point + support for this option in configure. Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index 76b642a950..7ba146548e 100755
--- a/configure
+++ b/configure
@@ -78,6 +78,8 @@ echo " --enable-codec=codec enables codec"
echo " --disable-codec=codec disables codec"
echo " --disable-encoders disables all encoders"
echo " --disable-decoders disables all decoders"
+echo " --disable-muxers disables all muxers"
+echo " --disable-demuxers disables all demuxers"
echo ""
echo "NOTE: The object files are build at the place where configure is launched"
exit 1
@@ -218,6 +220,8 @@ sunmlib="no"
pthreads="no"
gpl="no"
memalignhack="no"
+muxers="yes"
+demuxers="yes"
# OS specific
targetos=`uname -s`
@@ -533,6 +537,10 @@ for opt do
;;
--disable-decoders) CODEC_LIST="`echo $CODEC_LIST | sed 's/[-_a-zA-Z0-9]*decoder//g'`"
;;
+ --disable-muxers) muxers="no"
+ ;;
+ --disable-demuxers) demuxers="no"
+ ;;
esac
done
@@ -1399,6 +1407,18 @@ echo "CONFIG_ENCODERS=yes" >> config.mak
echo "#define CONFIG_DECODERS 1" >> $TMPH
echo "CONFIG_DECODERS=yes" >> config.mak
+# muxers
+if test "$muxers" = "yes" ; then
+ echo "#define CONFIG_MUXERS 1" >> $TMPH
+ echo "CONFIG_MUXERS=yes" >> config.mak
+fi
+
+# demuxers
+if test "$demuxers" = "yes" ; then
+ echo "#define CONFIG_DEMUXERS 1" >> $TMPH
+ echo "CONFIG_DEMUXERS=yes" >> config.mak
+fi
+
# AC3
if test "$a52" = "yes" ; then
echo "#define CONFIG_AC3 1" >> $TMPH