# HG changeset patch # User rfelker # Date 1115221189 0 # Node ID 8ed41ceead064875ad2651f0ffb2ec1c0a2b2da3 # Parent 606d1aac2d85743a5292455538ae53d8810fa867 1000000000l for using nonportable, obfuscated, and even locale-dependent commands to do the equivalent of the most basic unix text processing command, tr. finally this is fixed in a way that works on all systems with no hacks. *sigh* diff -r 606d1aac2d85 -r 8ed41ceead06 configure --- a/configure Wed May 04 12:00:54 2005 +0000 +++ b/configure Wed May 04 15:39:49 2005 +0000 @@ -6899,7 +6899,7 @@ AMR_NB=$_amr_nb AMR_NB_FIXED=$_amr_nb_fixed AMR_WB=$_amr_wb -`echo $_libavcodecs | LC_ALL=C awk '{$0=toupper($0)}1' | sed 'y/& /&\n/;s/\([-_a-zA-Z0-9]*\)/CONFIG_\1=yes/g'` +`echo $_libavcodecs | tr 'a-z ' 'A-Z\n' | sed 's/^/CONFIG_/;s/$/=yes/'` # --- Some stuff for autoconfigure ---- $_target_arch @@ -7229,7 +7229,7 @@ $_def_amr_wb /* Use specific codecs from libavcodec */ -`echo $_libavcodecs | LC_ALL=C awk '{$0=toupper($0)}1' | sed 'y/& /&\n/;s/\([-_a-zA-Z0-9]*\)/#define CONFIG_\1 1/g'` +`echo $_libavcodecs | tr 'a-z ' 'A-Z\n' | sed 's/^/#define CONFIG_/;s/$/ 1/'` /* Use codec libs included in mplayer CVS / source dist: */ $_def_mp3lib