changeset 15338:1c43b5f14ee1

force C locale to assure consistent behavior of toupper() Signed off by Ismail Donmez - ismail at kde org tr
author henry
date Wed, 04 May 2005 09:17:31 +0000
parents f05f78349faf
children 606d1aac2d85
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed May 04 07:00:02 2005 +0000
+++ b/configure	Wed May 04 09:17:31 2005 +0000
@@ -6899,7 +6899,7 @@
 AMR_NB=$_amr_nb
 AMR_NB_FIXED=$_amr_nb_fixed
 AMR_WB=$_amr_wb
-`echo $_libavcodecs | awk '{$0=toupper($0)}1' | sed 'y/& /&\n/;s/\([-_a-zA-Z0-9]*\)/CONFIG_\1=yes/g'`
+`echo $_libavcodecs | LC_ALL=C awk '{$0=toupper($0)}1' | sed 'y/& /&\n/;s/\([-_a-zA-Z0-9]*\)/CONFIG_\1=yes/g'`
 
 # --- Some stuff for autoconfigure ----
 $_target_arch
@@ -7229,7 +7229,7 @@
 $_def_amr_wb
 
 /* Use specific codecs from libavcodec */
-`echo $_libavcodecs | awk '{$0=toupper($0)}1' | sed 'y/& /&\n/;s/\([-_a-zA-Z0-9]*\)/#define CONFIG_\1 1/g'`
+`echo $_libavcodecs | LC_ALL=C awk '{$0=toupper($0)}1' | sed 'y/& /&\n/;s/\([-_a-zA-Z0-9]*\)/#define CONFIG_\1 1/g'`
 
 /* Use codec libs included in mplayer CVS / source dist: */
 $_def_mp3lib