summaryrefslogtreecommitdiffstats
path: root/mkconfig.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-20 10:56:03 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-20 10:56:03 +0000
commit8107df0103bd082eac252bea5ed557342f766614 (patch)
tree909bd2bee333bdd9ac96c826838879d1e06a98eb /mkconfig.rb
parentdf856da4812b9a33e2677e0269a81552e61a889a (diff)
downloadruby-8107df0103bd082eac252bea5ed557342f766614.tar.gz
ruby-8107df0103bd082eac252bea5ed557342f766614.tar.xz
ruby-8107df0103bd082eac252bea5ed557342f766614.zip
* ext/digest/sha2/extconf.rb: fix support for cross-compiling.
* mkconfig.rb: fix support for autoconf 2.52. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rw-r--r--mkconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index e19925bc5..5107ef69d 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -28,7 +28,7 @@ has_srcdir = false
has_version = false
File.foreach "config.status" do |line|
next if /^#/ =~ line
- if /^s[%,]@program_transform_name@[%,]s,(.*)[%,]/ =~ 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"