* mkconfig.rb: autoconf 2.49 support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6aa451b9dd
commit
9d0bba43bb
@ -1,3 +1,7 @@
|
||||
Mon Jan 22 16:33:16 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* mkconfig.rb: autoconf 2.49 support.
|
||||
|
||||
Sat Jan 20 03:54:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* parse.y (yylex): fixed serious syntax misbehavior. do's
|
||||
|
@ -28,11 +28,11 @@ has_srcdir = false
|
||||
has_version = false
|
||||
File.foreach "config.status" do |line|
|
||||
next if /^#/ =~ line
|
||||
if /^s%@program_transform_name@%s,(.*)%g$/ =~ line
|
||||
if /^s[%,]@program_transform_name@[%,]s,(.*)[%,]/ =~ line
|
||||
next if $install_name
|
||||
ptn = $1.sub(/\$\$/, '$').split(/,/) #'
|
||||
v_fast << " CONFIG[\"ruby_install_name\"] = \"" + "ruby".sub(ptn[0],ptn[1]) + "\"\n"
|
||||
elsif /^s%@(\w+)@%(.*)%g/ =~ line
|
||||
elsif /^s[%,]@(\w+)@[%,](.*)[%,]/ =~ line
|
||||
name = $1
|
||||
val = $2 || ""
|
||||
next if /^(INSTALL|DEFS|configure_input|srcdir|top_srcdir)$/ =~ name
|
||||
|
Loading…
x
Reference in New Issue
Block a user