summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-04 01:19:28 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-04 01:19:28 +0000
commit4bb635dc4b759203c76c0140d9c97399dc698cd6 (patch)
tree4ba12ff84f1db4914f23b08b925305a1eea177d7 /configure
parent365688aaa7c8591429107b097aa95c7d15ffef56 (diff)
downloadmpv-4bb635dc4b759203c76c0140d9c97399dc698cd6.tar.bz2
mpv-4bb635dc4b759203c76c0140d9c97399dc698cd6.tar.xz
fix sed for syntax to work on gnu & bsd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15337 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 d235c64031..b0b516a833 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 -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_nb_fixed
$_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