mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/configsub.rb: latest autoconf style support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
999971b07c
commit
952b46a617
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Mar 21 01:03:05 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||
|
||||
* ext/configsub.rb: latest autoconf style support.
|
||||
|
||||
Wed Mar 20 22:16:25 2002 Usaku Nakamura <usa@ruby-lang.org>
|
||||
|
||||
* mkconfig.rb: close duplicated $stdout before renaming rbconfig.rb.
|
||||
|
|
|
@ -12,7 +12,7 @@ BEGIN {
|
|||
|
||||
File.foreach($config || "config.status") do |line|
|
||||
next if /^#/ =~ line
|
||||
if /^s[%,]@(\w+)@[%,](.*)[%,]g/ =~ line
|
||||
if /^s[%,]@(\w+)@[%,](.*)[%,][g;]/ =~ line
|
||||
name = $1
|
||||
val = $2 || ""
|
||||
next if /^(INSTALL|DEFS|configure_input|srcdir)$/ =~ name
|
||||
|
|
Loading…
Reference in a new issue