Browse Source

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
tags/v0.5
Diego Biurrun 19 years ago
parent
commit
fe84b3f091
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      configure

+ 3
- 2
configure View File

@@ -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.


Loading…
Cancel
Save