diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-04 06:37:09 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-04 06:37:09 +0000 |
commit | c679eb1ca96ad9b29a39a57cbff8492f817cb698 (patch) | |
tree | ec869310d8f00d695b252fe0f695b8a00dae9bdb | |
parent | 66a49e0d7445110d4329fff54efbb214faae3006 (diff) | |
download | ruby-c679eb1ca96ad9b29a39a57cbff8492f817cb698.tar.gz |
* configure.in: Add compiler version message into rbconfig
as RbConfig::CONFIG['CC_VERSION_MESSAGE']. [Feature #12896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Fri Nov 4 15:31:00 2016 NARUSE, Yui <naruse@ruby-lang.org> + + * configure.in: Add compiler version message into rbconfig + as RbConfig::CONFIG['CC_VERSION_MESSAGE']. [Feature #12896] + Fri Nov 4 13:03:00 2016 Kenta Murata <mrkn@mrkn.jp> * numeric.c (rb_int_digits): Fix exception message diff --git a/configure.in b/configure.in index 3734afae24..6793d7d2e0 100644 --- a/configure.in +++ b/configure.in @@ -536,8 +536,10 @@ for option in --version -v -V -qversion; do AS_CASE($cc_version_status, [0], [:], [continue]) AS_CASE($cc_version_message, [*Warning*], [continue]) cc_version='$(CC) '$option + break done AC_SUBST(CC_VERSION, $cc_version) +AC_SUBST(CC_VERSION_MESSAGE, $cc_version_message) RUBY_UNIVERSAL_ARCH if test "$target_cpu" != "$host_cpu" -a "$GCC" = yes -a "$cross_compiling" = no -a "$universal_binary" = no; then |