diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-06 13:45:45 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-07 10:08:23 +0900 |
commit | 3a575d13d55751c6b5f34d26a8d87a4c449ddaeb (patch) | |
tree | 32754befc371a88060a010585751d1ad8b5397f2 /configure.ac | |
parent | 1b034d66f529d662b0ae61cba1fb8622dac3169c (diff) |
Ensure BASERUBY when cross-compiling
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5b0aa218d9..f981d1aa70 100644 --- a/configure.ac +++ b/configure.ac @@ -76,6 +76,7 @@ AS_IF([test "$HAVE_BASERUBY" != no -a "`RUBYOPT=- $BASERUBY --disable=gems -e 'p HAVE_BASERUBY=no ]) 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" ]) AC_SUBST(BASERUBY) |