Coda File System

Re: rpc2 check for yacc/bison

From: Davor Ocelic <docelic_at_hcoop.net>
Date: Wed, 16 May 2007 19:53:50 -0400
On Wed, May 16, 2007 at 06:58:23PM -0400, Jan Harkes wrote:
> On Wed, May 16, 2007 at 05:37:32PM -0400, Davor Ocelic wrote:
> > The rpc2 library is missing a ./configure check for the existence
> > of yacc, so ylwrap gets called and fails during the build, instead
> > of warning in advance.
> 
> It does check for both lex and yacc.
> 
>     AM_PROG_LEX
>     AC_PROG_YACC
> 
> However the default autoconf macro doesn't fail if the files are not
> found. I guess for some source trees the tarball could contain
> pre-generated c files so that a missing lex or yacc binary wouldn't
> actually be a fatal error.
> 
> Do you want configure to fail when it can't find either of these?

Well, whatever configure does when other critical things are not
found - it exits, right ?
Received on 2007-05-16 19:55:03