Re: [BUGS] Detecting proper bison version before make - Mailing list pgsql-patches

From Tom Lane
Subject Re: [BUGS] Detecting proper bison version before make
Date
Msg-id 15638.1055000665@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] Detecting proper bison version before make  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>   AC_CHECK_PROGS(YACC, ['bison -y'])
> +
> + if test "$YACC"; then
> +   if bison --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
> +     AC_MSG_WARN([

Should this not be making at least some effort to use the particular
program found by the AC_CHECK_PROGS macro?  ie, why not $YACC --version ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [BUGS] Detecting proper bison version before make
Next
From: Joe Conway
Date:
Subject: Re: [GENERAL] Bug in metaphone (contrib/fuzzystrmatch)