diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-13 07:41:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-13 07:41:01 +0000 |
commit | 207360044ba6e03e2132fdef2985a485da9a8466 (patch) | |
tree | ddc407b8e31c06009dfc7b5e2c5c6bf6fb38033d /configure.in | |
parent | 621b05ed61b238f2ec66b36f204e247d1ff775b9 (diff) |
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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 5207fad759..cbefd7c1db 100644 --- a/configure.in +++ b/configure.in @@ -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 |