summaryrefslogtreecommitdiff
path: root/tool/mkconfig.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-22 04:13:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-22 04:13:02 +0000
commit64a189d207cd000882eeca90cfe316f830570879 (patch)
tree31b26a92932eec477f3a3407b2e3244d71b53746 /tool/mkconfig.rb
parent0ad9c00525219306e890e76251c01ba32ae0259f (diff)
remove DISABLE_RUBYGEMS from config files
* configure.ac: removed DISABLE_RUBYGEMS macro from config.h, not to rebuild everything when the flag changed. * configure.ac, win32/configure.bat: make USE_RUBYGEMS lowercase. * tool/mkconfig.rb: remove RUBYGEMS stuff from rbconfig.rb, not to reconfigure and rebuild all extension libraries. * Makefile.in (CPPFLAGS): enable/disable Rubygems by USE_RUBYGEMS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/mkconfig.rb')
-rwxr-xr-xtool/mkconfig.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index 266b1f8000..2a3af97bc5 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -70,6 +70,7 @@ File.foreach "config.status" do |line|
when /^arch$/; if val.empty? then val = arch else arch = val end
when /^sitearch$/; val = '$(arch)' if val.empty?
when /^DESTDIR$/; next
+ when /RUBYGEMS/; next
end
case val
when /^\$\(ac_\w+\)$/; next