summaryrefslogtreecommitdiff
path: root/ext/-test-/dir/extconf.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-04 15:54:04 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-04 15:54:04 +0000
commitd03315d84a0ac639f80b5c0d499c1c662be66c55 (patch)
tree8ec01d9e0742cbf5c2fc871d327eba12dd8c36b0 /ext/-test-/dir/extconf.rb
parentf20d51b0adb640c9351b3025e6dda7843c3342aa (diff)
* configure.in (dirfd): Check function.
* dir.c (dir_fileno): New method. [ruby-dev:48265] [Feature #9880] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/dir/extconf.rb')
-rw-r--r--ext/-test-/dir/extconf.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/-test-/dir/extconf.rb b/ext/-test-/dir/extconf.rb
deleted file mode 100644
index ce4aad142a..0000000000
--- a/ext/-test-/dir/extconf.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-have_func("dirfd")
-
-$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
-$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
-inits = $srcs.map {|s| File.basename(s, ".*")}
-inits.delete("init")
-inits.map! {|s|"X(#{s})"}
-$defs << "-DTEST_INIT_FUNCS(X)=\"#{inits.join(' ')}\""
-create_makefile("-test-/dir")