diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-11 03:03:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-11 03:03:26 +0000 |
commit | 020dc4ba60cbd753ac92a67a1c42776499e59fc7 (patch) | |
tree | 5b4f701830f6e72a9adfac1edf18fae143a13e37 /ruby.c | |
parent | c7f86bb5f604f7d58e68839ebacb3c031f8b865b (diff) | |
download | ruby-020dc4ba60cbd753ac92a67a1c42776499e59fc7.tar.gz |
* configure.in (rubygems): add --disable-rubygems option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -111,6 +111,9 @@ cmdline_options_init(struct cmdline_options *opt) opt->src.enc.index = src_encoding_index; opt->ext.enc.index = -1; opt->intern.enc.index = -1; +#if defined DISABLE_RUBYGEMS && DISABLE_RUBYGEMS + opt->disable |= DISABLE_BIT(gems); +#endif return opt; } |