ext/etc/extconf.rb in etc-1.2.0 vs ext/etc/extconf.rb in etc-1.3.0
- old
+ new
@@ -45,13 +45,10 @@
srcdir = File.expand_path("..", __FILE__)
if !File.exist?("#{srcdir}/depend")
%x[#{RbConfig.ruby} #{srcdir}/mkconstants.rb -o #{srcdir}/constdefs.h]
end
-decl = [
- "void rb_deprecate_constant(VALUE, const char *);",
-]
-have_func('rb_deprecate_constant(Qnil, "None")', [decl])
+have_func('rb_deprecate_constant(Qnil, "None")')
$distcleanfiles << "constdefs.h"
create_makefile("etc")