Re: [PATCHES] vcbuild bison check

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas DCP SD
Тема Re: [PATCHES] vcbuild bison check
Дата
Msg-id E1539E0ED7043848906A8FF995BDA579016269F6@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: [PATCHES] vcbuild bison check  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: [PATCHES] vcbuild bison check  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-hackers
> Ok. So what you want is something that checks that it's
> >=1.875 but specifically not 2.1?
>
> Might be a while before I can submit an updated patch for
> that, may need to rewrite the whole script in perl to do that
> :-( .bat files are horribly limited in what they can do.

Since we are on NT or higher you could use extensions:
IF %bversion% GEQ 1.875 IF %bversion% NEQ 2.1 goto use_bison
http://www.robvanderwoude.com/ntif.html

(even in .bat files) to avoid converting to perl.
sorry, haven't looked at the file so needs adaption

Thank you for the work
Andreas


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

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Re: timestamptz alias
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [PATCHES] vcbuild bison check