Skip to content

Commit

Permalink
* configure.in (BASERUBY): use Kernel#print instead of Kernel#p because
Browse files Browse the repository at this point in the history
  the baseruby may output CRLF as end of line.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
unak committed Nov 17, 2015
1 parent a2f72ab commit c88764f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Tue Nov 17 19:02:59 2015 NAKAMURA Usaku <usa@ruby-lang.org>

* configure.in (BASERUBY): use Kernel#print instead of Kernel#p because
the baseruby may output CRLF as end of line.

Tue Nov 17 18:36:52 2015 Koichi Sasada <ko1@atdot.net>

* method.h: introduce rb_method_definition_t::complemented_count.
Expand Down
4 changes: 2 additions & 2 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ AC_ARG_WITH(baseruby,
[
BASERUBY="ruby"
])
if test "`RUBYOPT=- $BASERUBY -e 'p 42' 2>/dev/null`" = 42; then
if test "`RUBYOPT=- $BASERUBY --disable=gems -e 'p 42' 2>/dev/null`" = 42; then
if test "`RUBYOPT=- $BASERUBY -e 'print 42' 2>/dev/null`" = 42; then
if test "`RUBYOPT=- $BASERUBY --disable=gems -e 'print 42' 2>/dev/null`" = 42; then
BASERUBY="$BASERUBY --disable=gems"
fi
$BASERUBY -C "$srcdir/tool" downloader.rb -e gnu config.guess config.sub
Expand Down

0 comments on commit c88764f

Please sign in to comment.