зеркало из https://github.com/github/ruby.git
* ext/ripper/extconf.rb: bison is not needed if ripper.c exists. [ruby-dev:25191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
64b5b2b1a2
Коммит
0ce6372dc1
|
@ -1,3 +1,8 @@
|
|||
Thu Dec 16 04:02:28 2004 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* ext/ripper/extconf.rb: bison is not needed if ripper.c exists.
|
||||
[ruby-dev:25191]
|
||||
|
||||
Thu Dec 16 03:27:10 2004 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* lib/net/http.rb: remove junk.
|
||||
|
|
|
@ -5,8 +5,10 @@ require 'rbconfig'
|
|||
|
||||
def main
|
||||
unless have_command('bison')
|
||||
$stderr.puts 'Ripper requires bison; abort'
|
||||
exit 1
|
||||
unless File.exist?('ripper.c') or File.exist?("#{$srcdir}/ripper.c")
|
||||
$stderr.puts 'missing bison; abort'
|
||||
exit 1
|
||||
end
|
||||
end
|
||||
$objs = %w(ripper.o)
|
||||
$cleanfiles.concat %w(ripper.y ripper.c ripper.E ripper.output eventids1.c ids1 ids2)
|
||||
|
|
Загрузка…
Ссылка в новой задаче