[GRASS5] grass cvs snapshot from 26. Feb.

Justin Hickey jhickey at hpcc.nectec.or.th
Mon Mar 5 05:00:01 EST 2001


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'.

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.

-- 
Sincerely,

Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do.  ---Anonymous

Jazz and Trek Rule!!!
==================================================================

---------------------------------------- 
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