Re: [PATCHES] vcbuild bison check

From: "Zeugswetter Andreas DCP SD" <ZeugswetterA(at)spardat(dot)at>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] vcbuild bison check
Date: 2006-10-04 15:58:44
Message-ID: E1539E0ED7043848906A8FF995BDA579016269F6@m0143.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


> 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-10-04 16:01:29 Re: [PATCHES] vcbuild bison check
Previous Message Markus Schaber 2006-10-04 15:52:17 Re: timestamptz alias

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2006-10-04 16:01:29 Re: [PATCHES] vcbuild bison check
Previous Message Tom Lane 2006-10-04 15:23:16 Re: [PATCHES] vcbuild bison check