cosmetics: Better variable name, the ENABLE_* lists contain more than codecs.

Originally committed as revision 8607 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2007-04-03 13:10:37 +00:00
parent ed252b1624
commit 1a2a5b3ecd

6
configure vendored
View File

@ -2017,11 +2017,11 @@ else
fi fi
for codec in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST $MUXER_LIST; do for part in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST $MUXER_LIST; do
ucname="`toupper $codec`" ucname="`toupper $part`"
config_name="CONFIG_$ucname" config_name="CONFIG_$ucname"
enabled_name="ENABLE_$ucname" enabled_name="ENABLE_$ucname"
if enabled $codec; then if enabled $part; then
echo "#define $config_name 1" >> $TMPH echo "#define $config_name 1" >> $TMPH
echo "#define $enabled_name 1" >> $TMPH echo "#define $enabled_name 1" >> $TMPH
echo "$config_name=yes" >> config.mak echo "$config_name=yes" >> config.mak