From 9e07dfd253f5086b306d5e32d3ef4238a8510bc2 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Sun, 20 Oct 2019 16:16:54 +0900 Subject: show BASERUBY version at configure. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 6ebd5e31b1..653f3bb651 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,7 @@ AC_ARG_VAR([cxxflags], [additional CXXFLAGS (ignored when CXXFLAGS is given)]) : "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, 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" 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 v1.2.1