diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-02 23:41:41 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-03 19:25:29 +0900 |
commit | 7c67d0fd79a3cffe857587fa3cf576b611023840 (patch) | |
tree | 84712912a4477cb1fd92aa02441a3e23460ad079 /configure.ac | |
parent | 8f13d75a8c959abab6964a47c99e333fdce3201c (diff) | |
download | ruby-7c67d0fd79a3cffe857587fa3cf576b611023840.tar.gz |
Make sources by BASERUBY if available instead of miniruby
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d6ed24c5b7..a3d758341a 100644 --- a/configure.ac +++ b/configure.ac @@ -3348,6 +3348,7 @@ done BTESTRUBY='$(MINIRUBY)' BOOTSTRAPRUBY='$(BASERUBY)' +BOOTSTRAPRUBY_COMMAND='$(BOOTSTRAPRUBY)' AS_IF([test x"$cross_compiling" = xyes], [ test x"$MINIRUBY" = x && MINIRUBY="${RUBY-$BASERUBY} -I`$CHDIR .; pwd` "-r'$(arch)-fake' XRUBY_LIBDIR=`${RUBY-$BASERUBY} -rrbconfig -e ['puts RbConfig::CONFIG["libdir"]']` @@ -3370,7 +3371,9 @@ AS_IF([test x"$cross_compiling" = xyes], [ RUNRUBY_COMMAND='$(MINIRUBY) $(tooldir)/runruby.rb --extout=$(EXTOUT) $(RUNRUBYOPT)' RUNRUBY='$(RUNRUBY_COMMAND) --' XRUBY='$(RUNRUBY)' - AS_CASE(["$HAVE_BASERUBY"], [no], [BOOTSTRAPRUBY='$(MINIRUBY)']) + AS_CASE(["$HAVE_BASERUBY"], + [yes], [BOOTSTRAPRUBY_COMMAND='$(BOOTSTRAPRUBY) -r./$(arch)-fake'], + [BOOTSTRAPRUBY='$(MINIRUBY)']) TEST_RUNNABLE=yes CROSS_COMPILING=no ]) @@ -3383,6 +3386,7 @@ AC_SUBST(RUNRUBY_COMMAND) AC_SUBST(RUNRUBY) AC_SUBST(XRUBY) AC_SUBST(BOOTSTRAPRUBY) +AC_SUBST(BOOTSTRAPRUBY_COMMAND) AC_SUBST(EXTOUT, [${EXTOUT=.ext}]) FIRSTMAKEFILE="" |