[GRASS5] grass cvs snapshot from 26. Feb.
Markus Neteler
neteler at geog.uni-hannover.de
Mon Mar 5 06:24:40 EST 2001
On Mon, Mar 05, 2001 at 05:00:01PM +0700, Justin Hickey wrote:
> Hi Markus
>
> Markus Neteler wrote:
> > However, how to tell configure.in about it?
> >
> > It seems to be an autoconf bug (see configure):
> >
> > for ac_prog in 'bison -y' byacc
> >
> > should be
> >
> > for ac_prog in 'bison -y' byacc yacc
> >
> > How can we fix this?
>
> I'm basically brain dead when it comes to using configure.in but
> according to the texinfo file for autoconf we have the following:
>
> - Macro: AC_PROG_YACC
> If `bison' is found, set output variable `YACC' to `bison -y'.
> Otherwise, if `byacc' is found, set `YACC' to `byacc'. Otherwise
> set `YACC' to `yacc'.
Yes, I have seen that right now.
> So I don't think there should be a problem. To eliminate the warning
> message maybe we need to add a check for byacc in configure.in as
> follows
>
> AC_PROG_YACC
> if test "$YACC" != "bison -y"; then
> if test "$YACC" != "byacc" && test "$YACC" != "yacc"; then
> AC_MSG_WARN(You will need bison/yacc as required for various GRASS
> modules.)
> fi
>
> The rest of the code in configure.in checks the version of bison. I
> don't know, just guessing.
O.k, if you check the current version, it should run fine and print out
the yacc message as well (using simply "echo").
Linux, Solaris and CRAY are satisfied. :-)
However, do we need to keep the bison version check?
checking bison version... configure: warning: Bison 1.25 or newer needed to
regenerate parsers (found 1.22).
-> "my" SUN
Thanks for your assistance
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list