mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete and
deprecated Config. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e4e9758aa5
commit
df96e41845
3 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Aug 7 17:40:24 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete and
|
||||
deprecated Config.
|
||||
|
||||
Sat Aug 7 17:18:34 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/extmk.rb (extract_makefile): follow the change of
|
||||
|
|
2
lib/rbconfig/obsolete.rb
Normal file
2
lib/rbconfig/obsolete.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
warn "Use RbConfig instead of obsolete and deprecated Config."
|
||||
Config = RbConfig # compatibility for ruby-1.8.4 and older.
|
|
@ -213,7 +213,7 @@ print <<EOS
|
|||
)
|
||||
end
|
||||
end
|
||||
Config = RbConfig # compatibility for ruby-1.8.4 and older.
|
||||
autoload :Config, "rbconfig/obsolete.rb" # compatibility for ruby-1.8.4 and older.
|
||||
CROSS_COMPILING = nil unless defined? CROSS_COMPILING
|
||||
EOS
|
||||
|
||||
|
|
Loading…
Reference in a new issue