summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-02 17:04:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-02 17:04:33 +0000
commit493c57f65a3cde9c0268584aacd93a55782484ef (patch)
treef72cd6b994b46431c2bbdfc86248612e703eb550 /ext/extmk.rb.in
parente34e13c0c490c31c1dfed45da7d71686aa69027b (diff)
* ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index 3588385..c060d9d 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -313,9 +313,9 @@ def with_config(config, default=nil)
end
def enable_config(config, default=nil)
- if arg_config("--enable-"+config, default)
+ if arg_config("--enable-"+config)
true
- elsif arg_config("--disable-"+config, false)
+ elsif arg_config("--disable-"+config)
false
else
default