This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Configure patch] Issue error if bison not found
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Craig Rodrigues <rodrigc at attbi dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 28 Nov 2002 01:01:46 -0500 (EST)
- Subject: Re: [Configure patch] Issue error if bison not found
On Thu, 28 Nov 2002, Craig Rodrigues wrote:
> On Thu, Nov 28, 2002 at 05:18:08AM +0000, Hans-Peter Nilsson wrote:
> > On Thu, 28 Nov 2002, Craig Rodrigues wrote:
> > > Index: configure.in
> > > AC_CHECK_PROG(BISON, bison, bison, false)
> >
> > Should be (IIUC):
> > AC_CHECK_PROG (BISON, bison, bison, missing bison)
>
> I don't understand you correctly.
That should probably have been
AC_CHECK_PROG (BISON, bison, bison, $CONFIG_SHELL $srcdir/missing bison)
or something to the intended effect. ;-)
> With my patch, configure will bomb and issue a useful error message
> saying that bison is missing.
Not very useful, since it should work without bison. With
released source that it; CVS without generated files is another
thing; the remedy for that is to install bison.
brgds, H-P