diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-18 01:48:47 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-18 01:48:47 +0000 |
commit | ea1a4f2929ab0cdb85b04c268e5d128f2c0a42c6 (patch) | |
tree | 0252ba3601d8706634c275c9c222825fc9db2786 /ext/etc/depend | |
parent | 63a23dc678361f9d3031141748d0ba6485516a54 (diff) |
* ext/etc/etc.c: Etc.sysconf, Etc.confstr and IO#pathconf implemented.
* ext/etc/extconf.rb: Check sysconf(), confstr() and fpathconf().
* ext/etc/mkconstants.rb: New file.
[ruby-core:62600] [Feature #9842]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/etc/depend')
-rw-r--r-- | ext/etc/depend | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/etc/depend b/ext/etc/depend index 2db89d969c..6fc0ce8c91 100644 --- a/ext/etc/depend +++ b/ext/etc/depend @@ -1,3 +1,8 @@ -etc.o : etc.c $(HDRS) $(ruby_headers) \ +etc.o : etc.c constdefs.h $(HDRS) $(ruby_headers) \ $(hdrdir)/ruby/encoding.h \ $(hdrdir)/ruby/oniguruma.h + +constdefs.h : $(srcdir)/mkconstants.rb + @echo "generating constant definitions" + @$(RUBY) $(srcdir)/mkconstants.rb -o constdefs.h + |