зеркало из https://github.com/github/ruby.git
* 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:
Родитель
aa23bfaf08
Коммит
a39967d062
|
@ -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]
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
require 'mkmf'
|
||||
create_makefile('enumerator')
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
require 'mkmf'
|
||||
create_makefile('fcntl')
|
|
@ -0,0 +1,2 @@
|
|||
require 'mkmf'
|
||||
create_makefile('stringio')
|
Загрузка…
Ссылка в новой задаче