diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-09 12:24:55 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-09 12:24:55 +0000 |
commit | 979ac967a9d0437e698d3e555098c77e495baee8 (patch) | |
tree | fe7930ab81c9e62b48fe5da38efc74c601fef493 /ext/tk/extconf.rb | |
parent | 83c5dfb7ea60474722fd53382e8f9c31e35258de (diff) |
* ext/tk/extconf.rb (search_tclConfig): last change isn't enough. fixed it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/extconf.rb')
-rw-r--r-- | ext/tk/extconf.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb index baf19b2c5a..e3deebda05 100644 --- a/ext/tk/extconf.rb +++ b/ext/tk/extconf.rb @@ -1,6 +1,6 @@ ############################################################## # extconf.rb for tcltklib -# release date: 2009-08-07 +# release date: 2009-08-09 ############################################################## require 'mkmf' @@ -530,9 +530,6 @@ def search_tclConfig(*paths) # libdir list or [tcl-libdir|file, tk-libdir|file] tkconf = parse_tclConfig(tkpath) next if tkver && tkver !~ /^#{tkconf['TK_MAJOR_VERSION']}(\.?)#{tkconf['TK_MINOR_VERSION']}/ - # find tclConfig.sh & tkConfig.sh - conf = [tclconf, tkconf] unless conf - # nativethread check 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." @@ -540,6 +537,9 @@ def search_tclConfig(*paths) # libdir list or [tcl-libdir|file, tk-libdir|file] next end + # find tclConfig.sh & tkConfig.sh + conf = [tclconf, tkconf] unless conf + # check Tcl library if TkLib_Config["tcltk-stubs"] stub = "stub" |