Re: [PATCHES] vcbuild bison check - Mailing list pgsql-hackers

From Zeugswetter Andreas DCP SD
Subject Re: [PATCHES] vcbuild bison check
Date
Msg-id E1539E0ED7043848906A8FF995BDA579016269F6@m0143.s-mxs.net
Whole thread Raw
In response to Re: [PATCHES] vcbuild bison check  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: [PATCHES] vcbuild bison check
List 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 by date:

Previous
From: Markus Schaber
Date:
Subject: Re: timestamptz alias
Next
From: "Magnus Hagander"
Date:
Subject: Re: [PATCHES] vcbuild bison check