[前][次][番号順一覧][スレッド一覧]

ruby-changes:58324

From: Koichi <ko1@a...>
Date: Sun, 20 Oct 2019 16:18:03 +0900 (JST)
Subject: [ruby-changes:58324] 9e07dfd253 (master): show BASERUBY version at configure.

https://git.ruby-lang.org/ruby.git/commit/?id=9e07dfd253

From 9e07dfd253f5086b306d5e32d3ef4238a8510bc2 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Sun, 20 Oct 2019 16:16:54 +0900
Subject: show BASERUBY version at configure.


diff --git a/configure.ac b/configure.ac
index 6ebd5e3..653f3bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,7 @@ AC_ARG_VAR([cxxflags], [additional CXXFLAGS (ignored when CXXFLAGS is given)]) https://github.com/ruby/ruby/blob/trunk/configure.ac#L21
 
 : "environment section" && {
 HAVE_BASERUBY=yes
+BASERUBY_VERSION=
 AC_ARG_WITH(baseruby,
 	AS_HELP_STRING([--with-baseruby=RUBY], [use RUBY as baseruby; RUBY is the pathname of ruby]),
 	[AS_CASE(["$withval"],
@@ -34,6 +35,7 @@ AC_ARG_WITH(baseruby, https://github.com/ruby/ruby/blob/trunk/configure.ac#L35
 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`
     ])
     $BASERUBY -C "$srcdir" tool/downloader.rb -d tool -e gnu config.guess config.sub >&AS_MESSAGE_FD
 ], [
@@ -4063,6 +4065,7 @@ config_summary "JIT support"         "$MJIT_SUPPORT" https://github.com/ruby/ruby/blob/trunk/configure.ac#L4065
 config_summary "man page type"       "$MANTYPE"
 config_summary "search path"         "$search_path"
 config_summary "static-linked-ext"   ${EXTSTATIC:+"yes"}
+config_summary "BASERUBY -v"         "$BASERUBY_VERSION"
 echo ""
 echo "---"
 ])
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]