mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
621b05ed61
commit
207360044b
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,8 @@
|
|||
Sun Dec 13 16:29:22 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Sun Dec 13 16:41:01 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* 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]
|
||||
|
|
|
@ -43,7 +43,7 @@ AC_ARG_WITH(baseruby,
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue