1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/tk/extconf.rb (search_tclConfig): fix logic bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagai 2009-08-06 16:07:11 +00:00
parent e97f1270b5
commit 833b354578
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Fri Aug 7 01:04:17 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/extconf.rb (search_tclConfig): fix logic bug.
Thu Aug 6 21:18:15 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/digest/sha2/lib/sha2.eb: should require sha2.so.

View file

@ -1,6 +1,6 @@
##############################################################
# extconf.rb for tcltklib
# release date: 2009-07-28
# release date: 2009-08-07
##############################################################
require 'mkmf'
@ -534,8 +534,7 @@ def search_tclConfig(*paths) # libdir list or [tcl-libdir|file, tk-libdir|file]
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