aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-18 22:58:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-18 22:58:14 +0000
commite63d2b35bf315cc50f1c7f15d83c2ff389238051 (patch)
tree97e20fc781ac1535aa597c7cc2dc884d60cb158a /ext
parent3855977bf622fed96d696786b32b9a331c8eba11 (diff)
downloadruby-e63d2b35bf315cc50f1c7f15d83c2ff389238051.tar.gz
extmk.rb: fix with-ext condition
* ext/extmk.rb: if no with-ext option is given, dafault to enable everything. [ruby-dev:49108] [Bug #11280] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rwxr-xr-xext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 84fd950d40..3adcb465b0 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -503,7 +503,7 @@ default_exclude_exts =
end
withes, withouts = [["--with", nil], ["--without", default_exclude_exts]].collect {|w, d|
if !(w = %w[-extensions -ext].collect {|o|arg_config(w+o)}).any?
- d ? proc {|c1| d.any?(&c1)} : proc {false}
+ d ? proc {|c1| d.any?(&c1)} : proc {true}
elsif (w = w.grep(String)).empty?
proc {true}
else