summaryrefslogtreecommitdiff
path: root/ext/tk/tkutil/extconf.rb
blob: dd00d5d535c9e5d2153b92743a623b51cea1f7c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
begin
  has_tk = compiled?('tk')
rescue NoMethodError
  # Probably, called manually (NOT from 'extmk.rb'). Force to make Makefile.
  has_tk = true
end

if has_tk
  require 'mkmf'
  create_makefile('tkutil')
end