summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-07 11:45:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-07 11:45:01 +0000
commit1cf8e928018a2424bdd8fb602abea143d54c7144 (patch)
tree99a068220890a3abfb50c850a63fe67f469e68ff /ext
parent51bea808f37f828a970c65e662c1ca2074fdf43e (diff)
* ext/tcltklib/extconf.rb (find_tcl, find_tk): return true if
non-versioned found. [ruby-dev:19759] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/tcltklib/extconf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tcltklib/extconf.rb b/ext/tcltklib/extconf.rb
index b4ecfad8fe..6e02eb80ef 100644
--- a/ext/tcltklib/extconf.rb
+++ b/ext/tcltklib/extconf.rb
@@ -23,7 +23,7 @@ def find_tcl(tcllib, stubs)
if tcllib
find_library(tcllib, func, *paths)
elsif find_library("tcl", func, *paths)
- # ok
+ true
else
%w[8.4 8.3 8.2 8.0 7.6].find { |ver|
find_library("tcl#{ver}", func, *paths) or
@@ -38,7 +38,7 @@ def find_tk(tklib, stubs)
if tklib
find_library(tklib, func, *paths)
elsif find_library("tk", func, *paths)
- # ok
+ true
else
%w[8.4 8.3 8.2 8.0 4.2].find { |ver|
find_library("tk#{ver}", func, *paths) or