ruby-changes:61186
From: Nobuyoshi <ko1@a...>
Date: Mon, 11 May 2020 03:20:19 +0900 (JST)
Subject: [ruby-changes:61186] c89c3801b9 (master): BASERUBY have to be 1.9 or later at least [Bug #16845]
https://git.ruby-lang.org/ruby.git/commit/?id=c89c3801b9 From c89c3801b985916b6fb6726aab966d28371dfaaa Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 11 May 2020 03:17:08 +0900 Subject: BASERUBY have to be 1.9 or later at least [Bug #16845] Many tools under tool directory haven't worked with ruby 1.8. diff --git a/configure.ac b/configure.ac index 0437841..5993cf5 100644 --- a/configure.ac +++ b/configure.ac @@ -34,11 +34,9 @@ AC_ARG_WITH(baseruby, https://github.com/ruby/ruby/blob/trunk/configure.ac#L34 [ AC_PATH_PROG([BASERUBY], [ruby], [false]) ]) -AS_IF([test "$HAVE_BASERUBY" = yes -a "`RUBYOPT=- $BASERUBY -e 'print 42' 2>/dev/null`" = 42], [ - AS_IF([test "`RUBYOPT=- $BASERUBY --disable=gems -e 'print 42' 2>/dev/null`" = 42], [ - BASERUBY="$BASERUBY --disable=gems" - BASERUBY_VERSION=`$BASERUBY -v` - ]) +AS_IF([test "$HAVE_BASERUBY" = yes -a "`RUBYOPT=- $BASERUBY --disable=gems -e 'print 42' 2>/dev/null`" = 42], [ + BASERUBY="$BASERUBY --disable=gems" + BASERUBY_VERSION=`$BASERUBY -v` $BASERUBY -C "$srcdir" tool/downloader.rb -d tool -e gnu config.guess config.sub >&AS_MESSAGE_FD ], [ BASERUBY="echo executable host ruby is required. use --with-baseruby option.; false" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/