summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 10:05:05 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 10:05:05 +0000
commitf16326fddaa05cea4ec00c6c4970d9e0ff96bd05 (patch)
tree61dca28d09453642b3bb057c344082bd335ae8c5 /ext
parent7eecc7b8b4c790d07322bdb31d7baf93eb194729 (diff)
Revert "Mergr etc from github repository."
This reverts commit a85200277921dbefc1dfc9edd9ed26e9cea009f8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/etc/extconf.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/etc/extconf.rb b/ext/etc/extconf.rb
index f51a1af..20a7dd0 100644
--- a/ext/etc/extconf.rb
+++ b/ext/etc/extconf.rb
@@ -41,12 +41,6 @@ have_struct_member('struct passwd', 'pw_expire', 'pwd.h')
have_struct_member('struct passwd', 'pw_passwd', 'pwd.h')
have_struct_member('struct group', 'gr_passwd', 'grp.h')
-# for https://github.com/ruby/etc
-srcdir = File.expand_path("..", __FILE__)
-if !File.exists?("#{srcdir}/constdefs.h")
- %x[#{RbConfig.ruby} #{srcdir}/mkconstants.rb -o #{srcdir}/constdefs.h]
-end
-
$distcleanfiles << "constdefs.h"
create_makefile("etc")