OSDN Git Service

cosmetics: Better variable name, the ENABLE_* lists contain more than codecs.
authorDiego Biurrun <diego@biurrun.de>
Tue, 3 Apr 2007 13:10:37 +0000 (13:10 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 3 Apr 2007 13:10:37 +0000 (13:10 +0000)
Originally committed as revision 8607 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 12f2877..50c3570 100755 (executable)
--- a/configure
+++ b/configure
@@ -2017,11 +2017,11 @@ else
 fi
 
 
-for codec in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST $MUXER_LIST; do
-    ucname="`toupper $codec`"
+for part in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST $MUXER_LIST; do
+    ucname="`toupper $part`"
     config_name="CONFIG_$ucname"
     enabled_name="ENABLE_$ucname"
-    if enabled $codec; then
+    if enabled $part; then
         echo "#define $config_name 1" >> $TMPH
         echo "#define $enabled_name 1" >> $TMPH
         echo "$config_name=yes" >> config.mak