Bug #1361: Configure fails to recognize the absence of bison
http://redmine.ruby-lang.org/issues/show/1361

Author: Wesha the Leopard
Status: Open, Priority: Normal
Category: core
ruby -v: ruby-1.9.1-p0.tar.gz

There is a line "YACC = bison" in Makefile.in; but configure fails to recognize the absence of bison

Bison is NOT installed by default on FreeBSD, resulting in the following error when "make"ing:

-------------------------------------
bison -d  -o y.tab.c parse.y
gmake: bison: Command not found
gmake: *** [parse.c] Error 127
*** Error code 2

Stop in /root/_build/ruby.
-------------------------------------

Desired functionality:
* configure recognizes the absence of bison and falls back to yacc

Less desired functionality:
* configure recognizes the absence of bison and downloads and complies it in a temporary directory within the working directory tree

Least desired functionality:
* configure recognizes the absence of bison and notifies the user of inability to continue.


----------------------------------------
http://redmine.ruby-lang.org