summaryrefslogtreecommitdiff
path: root/ext/tk/tkutil/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/tkutil/extconf.rb')
-rw-r--r--ext/tk/tkutil/extconf.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/tk/tkutil/extconf.rb b/ext/tk/tkutil/extconf.rb
index 57de973c0aa..9ffde75657d 100644
--- a/ext/tk/tkutil/extconf.rb
+++ b/ext/tk/tkutil/extconf.rb
@@ -1,11 +1,4 @@
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")