зеркало из https://github.com/github/ruby.git
Revert "Mergr etc from github repository."
This reverts commit a852002779
.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7eecc7b8b4
Коммит
f16326fdda
|
@ -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 passwd', 'pw_passwd', 'pwd.h')
|
||||||
have_struct_member('struct group', 'gr_passwd', 'grp.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"
|
$distcleanfiles << "constdefs.h"
|
||||||
|
|
||||||
create_makefile("etc")
|
create_makefile("etc")
|
||||||
|
|
Загрузка…
Ссылка в новой задаче