diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-20 16:04:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-20 16:04:08 +0000 |
commit | 952b46a617236fa380f7871230efbd711b29a0b2 (patch) | |
tree | 22d668471f41a378f4dd5fe06a8f4c1f93792ee5 | |
parent | 999971b07c1871710064b5e4ee72cf1afca2ef55 (diff) |
* ext/configsub.rb: latest autoconf style support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/configsub.rb | 2 |
2 files changed, 5 insertions, 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. diff --git a/ext/configsub.rb b/ext/configsub.rb index 679078ff11..47689d7ec0 100644 --- a/ext/configsub.rb +++ b/ext/configsub.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 |