[前][次][番号順一覧][スレッド一覧]

ruby-changes:40537

From: usa <ko1@a...>
Date: Tue, 17 Nov 2015 19:05:20 +0900 (JST)
Subject: [ruby-changes:40537] usa:r52616 (trunk): * configure.in (BASERUBY): use Kernel#print instead of Kernel#p because

usa	2015-11-17 19:05:04 +0900 (Tue, 17 Nov 2015)

  New Revision: 52616

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52616

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

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 52615)
+++ configure.in	(revision 52616)
@@ -41,8 +41,8 @@ AC_ARG_WITH(baseruby, https://github.com/ruby/ruby/blob/trunk/configure.in#L41
 	[
 		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
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52615)
+++ ChangeLog	(revision 52616)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Nov 17 19:02:59 2015  NAKAMURA Usaku  <usa@r...>
+
+	* 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@a...>
 
 	* method.h: introduce rb_method_definition_t::complemented_count.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]