Sha256: 5aea3a88b383b597a9947a683cab80ffe36dd8c5f003065a76eaff2d770dfae4

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 Bytes

Contents

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'
  have_func("rb_obj_instance_exec", "ruby.h")
  have_func("rb_sym_to_s", "ruby.h")
  have_func("strndup", "string.h")
  create_makefile('tkutil')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tk_as_gem-0.1.0 ext/tkutil/extconf.rb
tk_as_gem-0.0.1 ext/tkutil/extconf.rb
tk_as_gem-0.0.0 ext/tkutil/extconf.rb