Re: [BUGS] Detecting proper bison version before make

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] Detecting proper bison version before make
Дата
Msg-id 200306071631.h57GVKp07103@candle.pha.pa.us
обсуждение исходный текст
Список pgsql-patches
Sure, I will change it to $YACC, but I thought it had to be 'bison -y'
because that's what we fed to AC_CHECK_PROGS.  I looked at the configure
output but I don't understand it, even though I know shell script.

---------------------------------------------------------------------------

Tom Lane wrote:
> 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
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [BUGS] Detecting proper bison version before make
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] Detecting proper bison version before make