diff configure @ 15340:8ed41ceead06

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*
author rfelker
date Wed, 04 May 2005 15:39:49 +0000
parents 1c43b5f14ee1
children ca5d4c1301c7
line wrap: on
line diff
--- 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