diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-07 15:35:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-07 15:35:26 +0000 |
commit | fcac0a2b5f8ef5242ef5f229b2ba538f51f607d9 (patch) | |
tree | 81f7de9522fa45960a79a11010d136b13d9591d0 /configure.in | |
parent | c36a11dc5e506e012358e28d1323024dc7059199 (diff) | |
download | ruby-fcac0a2b5f8ef5242ef5f229b2ba538f51f607d9.tar.gz |
configure.in: BOOTSTRAPRUBY version
* configure.in (BOOTSTRAPRUBY): avoid too old versions. current
fileutils.rb does not work with 1.8 or older, because of the
return values of Module#singleton_methods and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index be0db6abae..532f6bb2b5 100644 --- a/configure.in +++ b/configure.in @@ -3435,7 +3435,9 @@ else RUNRUBY='$(RUNRUBY_COMMAND) --' XRUBY='$(RUNRUBY)' BOOTSTRAPRUBY='$(MINIRUBY)' - test x"${HAVE_BASERUBY}" = xyes && BOOTSTRAPRUBY='$(BASERUBY)' + test x"${HAVE_BASERUBY}" = xyes && + ${BASERUBY} -e 'exit module A;def foo;end;instance_methods;end.include?(:foo)' && + BOOTSTRAPRUBY='$(BASERUBY)' TEST_RUNNABLE=yes CROSS_COMPILING=no fi |