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 | 25728a1963a89940c26879cacb5f33741fd68455 (patch) | |
| tree | ec869310d8f00d695b252fe0f695b8a00dae9bdb | |
| parent | b7c93a3c10d7e1066a86c2c6631e73f8698fc36b (diff) | |
* 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 |
