diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-05 19:31:48 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-05 19:31:48 +0000 |
commit | 6eefb6fd5b7ae19c9da0ba52ba9fdd492180c222 (patch) | |
tree | f78a409ab13f22b866898edf10ecb92e66d2748c /configure | |
parent | 98d417cbcd6170d4b7836690b5cc1911e2dd883d (diff) | |
download | ffmpeg-6eefb6fd5b7ae19c9da0ba52ba9fdd492180c222.tar.gz |
set CONFIG_ENCODERS/CONFIG_DECODERS only if any encoders/decoders are enabled
Originally committed as revision 5629 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1732,12 +1732,16 @@ fi echo "EXTRALIBS=$extralibs" >> config.mak # If you do not want to use encoders, disable them. -echo "#define CONFIG_ENCODERS 1" >> $TMPH -echo "CONFIG_ENCODERS=yes" >> config.mak +if echo "$CODEC_LIST" | grep -q encoder; then + echo "#define CONFIG_ENCODERS 1" >> $TMPH + echo "CONFIG_ENCODERS=yes" >> config.mak +fi # If you do not want to use decoders, disable them. -echo "#define CONFIG_DECODERS 1" >> $TMPH -echo "CONFIG_DECODERS=yes" >> config.mak +if echo "$CODEC_LIST" | grep -q decoder; then + echo "#define CONFIG_DECODERS 1" >> $TMPH + echo "CONFIG_DECODERS=yes" >> config.mak +fi # muxers if test "$muxers" = "yes" ; then |