aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-27 18:04:55 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-27 18:04:55 +0000
commitbb2e9e9e9871eab71aac3f316339c67e8bb4a1a5 (patch)
tree26a5204486566b3f7737901750a044a69be2a44b
parentc41e749c4d6102bc3db543c272f7e344896f70dc (diff)
downloadruby-bb2e9e9e9871eab71aac3f316339c67e8bb4a1a5.tar.gz
* configure.in (opt-dir): don't use non portable flag -E of sed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--configure.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ad81cc15ae..b9041c3851 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Nov 28 03:03:28 2012 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * configure.in (opt-dir): don't use non portable flag -E of sed.
+
Wed Nov 28 02:55:35 2012 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in (ARCH_FLAG): __sync_val_compare_and_swap_4 needs
diff --git a/configure.in b/configure.in
index a543fe7f52..1901721f6d 100644
--- a/configure.in
+++ b/configure.in
@@ -2353,7 +2353,7 @@ AC_ARG_WITH(opt-dir,
val=`IFS="$PATH_SEPARATOR"
for dir in $withval; do
echo x ${LIBPATHFLAG} ${RPATHFLAG} |
- sed -E 's/^x *//;s'"${PATH_SEPARATOR}"'%1\\$-s|%s'"${IFS}${dir}/lib${IFS}g"
+ sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${dir}/lib${IFS}g;s${IFS}%s${IFS}${dir}/lib${IFS}g"
done | tr '\012' ' '`
set +x
LDFLAGS="$LDFLAGS${LDFLAGS:+ }$val"