aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-08-30 23:55:43 +0000
committerDiego Biurrun <diego@biurrun.de>2006-08-30 23:55:43 +0000
commitfe84b3f09100d5783c1ce4d3dc4dd8427cd9ba80 (patch)
tree9278b5bc033d3294016b81bf2e116f30d3fab363
parentc07bd6a937f797bb05864980774ca85d2ffb2a8b (diff)
downloadffmpeg-fe84b3f09100d5783c1ce4d3dc4dd8427cd9ba80.tar.gz
Work around Solaris tr not understanding "tr a-z A-Z" as it should.
Originally committed as revision 6135 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 2b3d45275d..6c9065f08e 100755
--- a/configure
+++ b/configure
@@ -2154,9 +2154,10 @@ else
fi
+# "tr '[a-z]' '[A-Z]'" is a workaround for Solaris tr not grokking "tr a-z A-Z"
for codec in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST $MUXER_LIST; do
- echo "#define CONFIG_`echo $codec | tr a-z A-Z` 1" >> $TMPH
- echo "CONFIG_`echo $codec | tr a-z A-Z`=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
# Do not overwrite config.h if unchanged to avoid superfluous rebuilds.