mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mkmf.rb: remove unnecessary variables
* lib/mkmf.rb (configuration): remove unnecessary variables, top_srcdir is defined above, builddir is not used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
50226fb61c
commit
2d1b2f0ecf
1 changed files with 2 additions and 2 deletions
|
@ -1923,9 +1923,9 @@ VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])}
|
|||
end
|
||||
CONFIG.each do |key, var|
|
||||
next if /^abs_/ =~ key
|
||||
next if /^(?:src|top|hdr)dir$/ =~ key
|
||||
next if /^(?:src|top(?:_src)?|build|hdr)dir$/ =~ key
|
||||
next unless /dir$/ =~ key
|
||||
mk << "#{key} = #{/^(?:top_src|build)dir$/ =~ key ? var : with_destdir(var)}\n"
|
||||
mk << "#{key} = #{with_destdir(var)}\n"
|
||||
end
|
||||
if !$extmk and !$configure_args.has_key?('--ruby') and
|
||||
sep = config_string('BUILD_FILE_SEPARATOR')
|
||||
|
|
Loading…
Add table
Reference in a new issue