summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-25 10:37:30 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-25 10:37:30 +0000
commit45ca4d69aa75994d8a96632529b69ae747b6639d (patch)
treeff75a50f42c5a8c2de44eed6f729975efba21e1f /ext/extmk.rb.in
parent40ceea0a75487f26a4a84986a84a918609abdf7b (diff)
* ext/extmk.rb.in (arg_config): get rid of single quotes for autoconf 2.53.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index 7e1a1b2..2116605 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -297,6 +297,7 @@ def arg_config(config, default=nil)
args << " " << ENV["CONFIGURE_ARGS"]
end
for arg in args.split
+ arg.gsub! /^'|'$/, ''
next unless /^--/ =~ arg
arg, val = arg.split('=', 2)
$configure_args[arg] = val || true