[前][次][番号順一覧][スレッド一覧]

ruby-changes:38885

From: nobu <ko1@a...>
Date: Fri, 19 Jun 2015 07:58:38 +0900 (JST)
Subject: [ruby-changes:38885] nobu:r50966 (trunk): extmk.rb: fix with-ext condition

nobu	2015-06-19 07:58:14 +0900 (Fri, 19 Jun 2015)

  New Revision: 50966

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50966

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/ext/extmk.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50965)
+++ ChangeLog	(revision 50966)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jun 19 07:58:11 2015  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/extmk.rb: if no with-ext option is given, dafault to
+	  enable everything.  [ruby-dev:49108] [Bug #11280]
+
 Fri Jun 19 06:30:07 2015  Koichi Sasada  <ko1@a...>
 
 	* bootstraptest/test_method.rb: remove a test because $SAFE=2 was
Index: ext/extmk.rb
===================================================================
--- ext/extmk.rb	(revision 50965)
+++ ext/extmk.rb	(revision 50966)
@@ -503,7 +503,7 @@ default_exclude_exts = https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L503
   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]