summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-17 14:42:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-17 14:42:30 +0000
commit748372be9715f89eabadf2840604ea24f3d0e026 (patch)
tree80b8f204a23fa33dccc5e26aae6e07e87377610e
parente1aabbd397d3bb0a202dc9df156cb00a6a30b330 (diff)
configure.in: no pattern substitution
* configure.in: get rid of pattern substitution, which is not supported by ash, and ash on NetBSD parses whole source first and fails to start. [ruby-dev:48823] [Bug #10750] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--configure.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 72546e9..8d86631 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Jan 17 23:42:27 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * configure.in: get rid of pattern substitution, which is not
+ supported by ash, and ash on NetBSD parses whole source first
+ and fails to start. [ruby-dev:48823] [Bug #10750]
+
Fri Jan 16 18:42:58 2015 NARUSE, Yui <naruse@ruby-lang.org>
* tool/redmine-backporter.rb: support adding related revisions
diff --git a/configure.in b/configure.in
index 599a22e..b3deed2 100644
--- a/configure.in
+++ b/configure.in
@@ -3018,7 +3018,7 @@ if test "$with_dln_a_out" != yes; then
"-undefined dynamic_lookup" \
"-multiply_defined suppress" \
; do
- test "x${linker_flag}" = x || flag="${linker_flag}${flag// /,}"
+ test "x${linker_flag}" = x || flag="${linker_flag}`echo ${flag} | tr ' ' ,`"
RUBY_TRY_LDFLAGS([$flag], [], [flag=])
if test "x$flag" != x; then
RUBY_APPEND_OPTIONS(DLDFLAGS, [$flag])