1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead.

* ext/enumerator/extconf.rb, ext/fcntl/extconf.rb,
  ext/stringio/extconf.rb: added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2004-11-01 05:04:04 +00:00
parent aa23bfaf08
commit a39967d062
5 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Mon Nov 1 13:59:28 2004 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead.
* ext/enumerator/extconf.rb, ext/fcntl/extconf.rb,
ext/stringio/extconf.rb: added.
Mon Nov 1 11:52:18 2004 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (pipe_open): avoid conflict of variable name. [ruby-dev:24662]

View file

@ -0,0 +1,2 @@
require 'mkmf'
create_makefile('enumerator')

View file

@ -77,7 +77,7 @@ def extmake(target)
unless $ignore
if !(t = modified?(makefile, MTIMES)) ||
%W<#{$srcdir}/makefile.rb #{$srcdir}/extconf.rb
#{$srcdir}/depend #{$srcdir}/MANIFEST>.any? {|f| modified?(f, [t])}
#{$srcdir}/depend>.any? {|f| modified?(f, [t])}
then
$defs = []
Logging::logfile 'mkmf.log'
@ -313,8 +313,7 @@ end unless $extstatic
ext_prefix = "#{$top_srcdir}/ext"
exts = $static_ext.sort_by {|t, i| i}.collect {|t, i| t}
exts |= $extension if $extension
exts.delete_if {|t| !File.exist?("#{ext_prefix}/#{t}/MANIFEST")}
exts |= Dir.glob("#{ext_prefix}/*/**/MANIFEST").collect {|d|
exts |= Dir.glob("#{ext_prefix}/*/**/extconf.rb").collect {|d|
d = File.dirname(d)
d.slice!(0, ext_prefix.length + 1)
d

2
ext/fcntl/extconf.rb Normal file
View file

@ -0,0 +1,2 @@
require 'mkmf'
create_makefile('fcntl')

2
ext/stringio/extconf.rb Normal file
View file

@ -0,0 +1,2 @@
require 'mkmf'
create_makefile('stringio')