replace local sensitive awk uppercaser with tr
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 4 May 2005 23:51:44 +0000 (23:51 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 4 May 2005 23:51:44 +0000 (23:51 +0000)
Originally committed as revision 4176 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 35881e3..6c89cca 100755 (executable)
--- a/configure
+++ b/configure
@@ -1589,8 +1589,8 @@ fi
 fi
 
 for codec in $CODEC_LIST ; do
-    echo "#define CONFIG_`echo $codec | awk '{$1=toupper($1)}1'` 1" >> $TMPH
-    echo "CONFIG_`echo $codec | awk '{$1=toupper($1)}1'`=yes" >> config.mak
+    echo "#define CONFIG_`echo $codec | tr a-z A-Z` 1" >> $TMPH
+    echo "CONFIG_`echo $codec | tr a-z A-Z`=yes" >> config.mak
 done
 
 diff $TMPH config.h >/dev/null 2>&1