[MPlayer-cvslog] CVS: main configure,1.988,1.989

Richard Felker CVS syncmail at mplayerhq.hu
Wed May 4 17:39:51 CEST 2005


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv136

Modified Files:
	configure 
Log Message:
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*


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.988
retrieving revision 1.989
diff -u -r1.988 -r1.989
--- configure	4 May 2005 09:17:31 -0000	1.988
+++ configure	4 May 2005 15:39:49 -0000	1.989
@@ -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




More information about the MPlayer-cvslog mailing list