* mkconfig.rb: Add some high-level documentation.
[ci skip][fix GH-1081] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f6ea3cc675
commit
ce9b056c5d
@ -1,3 +1,8 @@
|
|||||||
|
Mon Nov 16 16:10:51 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
|
* mkconfig.rb: Add some high-level documentation.
|
||||||
|
[ci skip][fix GH-1081]
|
||||||
|
|
||||||
Mon Nov 16 15:59:14 2015 yui-knk <spiketeika@gmail.com>
|
Mon Nov 16 15:59:14 2015 yui-knk <spiketeika@gmail.com>
|
||||||
|
|
||||||
* proc.c: Add call-seq of `Method#super_method`
|
* proc.c: Add call-seq of `Method#super_method`
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
#!./miniruby -s
|
#!./miniruby -s
|
||||||
|
|
||||||
|
# This script, which is run when ruby is built, generates rbconfig.rb by
|
||||||
|
# parsing information from config.status. rbconfig.rb contains build
|
||||||
|
# information for ruby (compiler flags, paths, etc.) and is used e.g. by
|
||||||
|
# mkmf to build compatible native extensions.
|
||||||
|
|
||||||
# avoid warnings with -d.
|
# avoid warnings with -d.
|
||||||
$install_name ||= nil
|
$install_name ||= nil
|
||||||
$so_name ||= nil
|
$so_name ||= nil
|
||||||
@ -167,8 +172,10 @@ prefix = vars.expand(vars["prefix"] ||= "")
|
|||||||
rubyarchdir = vars.expand(vars["rubyarchdir"] ||= "")
|
rubyarchdir = vars.expand(vars["rubyarchdir"] ||= "")
|
||||||
relative_archdir = rubyarchdir.rindex(prefix, 0) ? rubyarchdir[prefix.size..-1] : rubyarchdir
|
relative_archdir = rubyarchdir.rindex(prefix, 0) ? rubyarchdir[prefix.size..-1] : rubyarchdir
|
||||||
puts %[\
|
puts %[\
|
||||||
# This file was created by #{mkconfig} when ruby was built. Any
|
# This file was created by #{mkconfig} when ruby was built. It contains
|
||||||
# changes made to this file will be lost the next time ruby is built.
|
# build information for ruby which is used e.g. by mkmf to build
|
||||||
|
# compatible native extensions. Any changes made to this file will be
|
||||||
|
# lost the next time ruby is built.
|
||||||
|
|
||||||
module RbConfig
|
module RbConfig
|
||||||
RUBY_VERSION.start_with?("#{version[/^[0-9]+\.[0-9]+\./] || version}") or
|
RUBY_VERSION.start_with?("#{version[/^[0-9]+\.[0-9]+\./] || version}") or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user