summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-07 15:35:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-07 15:35:26 +0000
commit161cee3c48a989466c9d6650555c1ff0177ae0f8 (patch)
tree81f7de9522fa45960a79a11010d136b13d9591d0 /configure.in
parent75d765de8afb64c67f6cb98075ca69745cd4d18c (diff)
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.in4
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