mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
c97ed5ef9a
* ext/tk/README.tcltklib: add description about --with-X11-* option [ruby-talk:225166] and --with-X11/--without-X11 option. * ext/tk/tkutil/extconf.rb: able to be called manually [ruby-talk:225950]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11 lines
211 B
Ruby
11 lines
211 B
Ruby
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
|