mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
e34e13c0c4
commit
493c57f65a
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Apr 3 01:54:10 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||||
|
|
||||||
|
* ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.
|
||||||
|
|
||||||
Tue Apr 2 19:59:13 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
|
Tue Apr 2 19:59:13 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
|
||||||
|
|
||||||
* ext/dl: Merge from rough.
|
* ext/dl: Merge from rough.
|
||||||
|
|
|
@ -313,9 +313,9 @@ def with_config(config, default=nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
def enable_config(config, default=nil)
|
def enable_config(config, default=nil)
|
||||||
if arg_config("--enable-"+config, default)
|
if arg_config("--enable-"+config)
|
||||||
true
|
true
|
||||||
elsif arg_config("--disable-"+config, false)
|
elsif arg_config("--disable-"+config)
|
||||||
false
|
false
|
||||||
else
|
else
|
||||||
default
|
default
|
||||||
|
|
Loading…
Reference in a new issue