changeset 15336:48654029e6dc

fix sed for syntax to work on gnu & bsd
author nplourde
date Wed, 04 May 2005 01:19:28 +0000
parents 69a00872b993
children f05f78349faf
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue May 03 20:27:49 2005 +0000
+++ b/configure	Wed May 04 01:19:28 2005 +0000
@@ -6899,7 +6899,7 @@
 AMR_NB=$_amr_nb
 AMR_NB_FIXED=$_amr_nb_fixed
 AMR_WB=$_amr_wb
-$(echo -e `echo $_libavcodecs | awk '{$0=toupper($0)}1' | sed 's/\([-_a-zA-Z0-9]*\)/CONFIG_\1=yes\\\n/g'`)
+`echo $_libavcodecs | 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 -e `echo $_libavcodecs | awk '{$0=toupper($0)}1' | sed 's/\([-_a-zA-Z0-9]*\)/#define CONFIG_\1 1\\\n/g'`)
+`echo $_libavcodecs | 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