# Loosely based on pre-setup.rb from rbbr by Masao Mutoh.
basename = "booh"
-config = Config::CONFIG
+config = RbConfig::CONFIG
podir = srcdir_root + "/po/"
# Create MO files.
end
-c = ::Config::CONFIG
+c = ::RbConfig::CONFIG
rubypath = c['bindir'] + '/' + c['ruby_install_name']
def ruby_extentions(dir)
Dir.open(dir) {|d|
- ents = d.select {|fname| /\.#{::Config::CONFIG['DLEXT']}\z/ =~ fname }
+ ents = d.select {|fname| /\.#{::RbConfig::CONFIG['DLEXT']}\z/ =~ fname }
if ents.empty?
setup_rb_error "no ruby extention exists: 'ruby #{$0} setup' first"
end