ruby-changes:12712
From: nagai <ko1@a...>
Date: Fri, 7 Aug 2009 01:06:31 +0900 (JST)
Subject: [ruby-changes:12712] Ruby:r24429 (ruby_1_8): * ext/tk/extconf.rb (search_tclConfig): fix logic bug.
nagai 2009-08-07 01:06:15 +0900 (Fri, 07 Aug 2009) New Revision: 24429 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24429 Log: * ext/tk/extconf.rb (search_tclConfig): fix logic bug. Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/ext/tk/extconf.rb Index: ruby_1_8/ext/tk/extconf.rb =================================================================== --- ruby_1_8/ext/tk/extconf.rb (revision 24428) +++ ruby_1_8/ext/tk/extconf.rb (revision 24429) @@ -1,6 +1,6 @@ ############################################################## # extconf.rb for tcltklib -# release date: 2009-07-28 +# release date: 2009-08-07 ############################################################## require 'mkmf' @@ -534,8 +534,7 @@ conf = [tclconf, tkconf] unless conf # nativethread check - unless TkLib_Config["ruby_with_thread"] - tclconf['TCL_THREADS'] == '1' + if !TkLib_Config["ruby_with_thread"] && tclconf['TCL_THREADS'] == '1' puts "WARNIG: find #{tclpath.inspect}, but it WITH nativethread-support under ruby WITHOUT nativethread-support. So, ignore it." TkLib_Config["tcltk-NG-path"] << File.dirname(tclpath) next Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 24428) +++ ruby_1_8/ChangeLog (revision 24429) @@ -1,3 +1,7 @@ +Fri Aug 7 01:04:17 2009 Hidetoshi NAGAI <nagai@a...> + + * ext/tk/extconf.rb (search_tclConfig): fix logic bug. + Thu Aug 6 09:06:39 2009 Tanaka Akira <akr@f...> * eval.c (rb_thread_schedule): refine previous change. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/