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

* 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:
aamine 2004-12-15 19:02:42 +00:00
parent 64b5b2b1a2
commit 0ce6372dc1
2 changed files with 9 additions and 2 deletions

View file

@ -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.

View file

@ -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)