This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]