diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-05 05:36:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-05 05:36:28 +0000 |
commit | a4d7e42888b0c7f39d7a0aa94c80c4c44d48c32e (patch) | |
tree | 7a528353e5d94871a7f49073f87bb325cb6794b3 /version.c | |
parent | 6ab08d2e8dd0c382d41e477f8255d7d6e4e67d9b (diff) | |
download | ruby-a4d7e42888b0c7f39d7a0aa94c80c4c44d48c32e.tar.gz |
version.c: show malloc_conf
* configure.in (jemalloc): check for the header regardless drop-in
libjemalloc is found, for `malloc_conf` declaration.
* version.c (ruby_show_version): show `malloc_conf` if set.
[Feature #9113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r-- | version.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -78,6 +78,9 @@ void ruby_show_version(void) { PRINT(description); +#ifdef HAVE_MALLOC_CONF + if (malloc_conf) printf("malloc_conf=%s\n", malloc_conf); +#endif fflush(stdout); } |