Re: [BUGS] Detecting proper bison version before make

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Greg Sabino Mullane <greg(at)turnstep(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [BUGS] Detecting proper bison version before make
Date: 2003-06-07 15:44:25
Message-ID: 15638.1055000665@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2003-06-07 16:02:01 Re: Compund indexes and ORs
Previous Message Tom Lane 2003-06-07 15:13:34 Re: Compund indexes and ORs

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-06-07 16:31:20 Re: [BUGS] Detecting proper bison version before make
Previous Message Joe Conway 2003-06-07 15:40:08 Re: [GENERAL] Bug in metaphone (contrib/fuzzystrmatch)