1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* confiure.in: new --with-ext and --with-out-ext options for extmk.

* tool/mkconfig.rb: normalizing --with-out-ext to --without-ext.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
muraken 2010-02-18 13:33:25 +00:00
parent e8665a6bc2
commit a8fcae0858
3 changed files with 15 additions and 1 deletions

View file

@ -111,7 +111,10 @@ File.foreach "config.status" do |line|
end
end
end
val.gsub!(/ +(?!-)/, "=") if name == "configure_args" && /mswin32/ =~ RUBY_PLATFORM
if name == "configure_args"
val.gsub!(/ +(?!-)/, "=") if /mswin32/ =~ RUBY_PLATFORM
val.gsub!(/--with-out-ext/, "--without-ext")
end
val = val.gsub(/\$(?:\$|\{?(\w+)\}?)/) {$1 ? "$(#{$1})" : $&}.dump
if /^prefix$/ =~ name
val = "(TOPDIR || DESTDIR + #{val})"