summaryrefslogtreecommitdiff
path: root/ext/tcltklib/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tcltklib/extconf.rb')
-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