summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-04 15:39:49 +0000
committerrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-04 15:39:49 +0000
commit7b18d69b2cb5c5b5ecaf2b858e21795cc275f5e0 (patch)
tree722c27b1461862f8db7a4b6542dfff66c31310b2 /configure
parentd3ca3ab6e7d68811793bb8c2ded68ed315f27294 (diff)
downloadmpv-7b18d69b2cb5c5b5ecaf2b858e21795cc275f5e0.tar.bz2
mpv-7b18d69b2cb5c5b5ecaf2b858e21795cc275f5e0.tar.xz
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* git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15341 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 76c8aae049..7f33130d2d 100755
--- a/configure
+++ b/configure
@@ -6899,7 +6899,7 @@ FAAC_LIB=$_ld_faac
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_nb_fixed
$_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