diff options
author | Jeremy Evans <code@jeremyevans.net> | 2023-12-19 21:30:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 21:30:47 -0800 |
commit | 7dca6b53a995a9782026f726c291344b5b8e0ab2 (patch) | |
tree | d1c2b2f07fe28fbb6857b91551e6174ffbb7e270 /configure.ac | |
parent | ae2c4d07204dd714a7a5be7697541447b023ea25 (diff) | |
download | ruby-7dca6b53a995a9782026f726c291344b5b8e0ab2.tar.gz |
Add tool/missing-baseruby.bat, used when BASERUBY not available
Previously, the embedded semicolon in BASERUBY if BASERUBY is
not available breaks tarball builds without BASERUBY when using
OpenBSD make, due to the inability to escape MFLAGS correctly.
This moves the same BASERUBY code into a separate file, avoiding
the MFLAGS quoting issue.
BASERUBY must be passed to build-ext because it is required
by ripper since the introduction of lrama.
Fixes [Bug #19683]
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b01ba53839..a57e506d55 100644 --- a/configure.ac +++ b/configure.ac @@ -89,7 +89,7 @@ AS_IF([test "$HAVE_BASERUBY" != no -a "`RUBYOPT=- $BASERUBY --disable=gems -e 'p ]) AS_IF([test "$HAVE_BASERUBY" = no], [ AS_IF([test "$cross_compiling" = yes], [AC_MSG_ERROR([executable host ruby is required for cross-compiling])]) - BASERUBY="echo executable host ruby is required. use --with-baseruby option.; false" + BASERUBY=$srcdir/tool/missing-baseruby.bat ]) AC_SUBST(BASERUBY) AC_SUBST(HAVE_BASERUBY) |