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

ruby-changes:40994

From: nobu <ko1@a...>
Date: Sun, 13 Dec 2015 16:41:18 +0900 (JST)
Subject: [ruby-changes:40994] nobu:r53073 (trunk): configure.in: make BASERUBY fullpath

nobu	2015-12-13 16:41:01 +0900 (Sun, 13 Dec 2015)

  New Revision: 53073

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

  Log:
    configure.in: make BASERUBY fullpath
    
    * configure.in (BOOTSTRAPRUBY): make BASERUBY full path before
      building ruby to get rid of unexpectedly invoking built ruby.
      [ruby-core:72065] [Bug #11807]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 53072)
+++ configure.in	(revision 53073)
@@ -43,7 +43,7 @@ AC_ARG_WITH(baseruby, https://github.com/ruby/ruby/blob/trunk/configure.in#L43
 		AS_CASE(["$withval"],[*ruby*],[BASERUBY=$withval],[AC_MSG_ERROR(need ruby)])
 	],
 	[
-		BASERUBY="ruby"
+		AC_PATH_PROG([BASERUBY], [ruby], [false])
 	])
 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
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53072)
+++ ChangeLog	(revision 53073)
@@ -1,4 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
-Sun Dec 13 16:29:22 2015  Nobuyoshi Nakada  <nobu@r...>
+Sun Dec 13 16:41:01 2015  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (BOOTSTRAPRUBY): make BASERUBY full path before
+	  building ruby to get rid of unexpectedly invoking built ruby.
+	  [ruby-core:72065] [Bug #11807]
 
 	* configure.in (BOOTSTRAPRUBY): use MINIRUBY but not BASERUBY
 	  unless cross compiling.  [ruby-core:72065] [Bug #11807]

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

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