Re: [PATCHES] vcbuild bison check

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
Cc: Zeugswetter Andreas DCP SD <ZeugswetterA(at)spardat(dot)at>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] vcbuild bison check
Date: 2006-10-04 16:12:21
Message-ID: 4523DD65.9060106@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Magnus Hagander wrote:
>>> 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
>>
>
> I thought that only worked if your locale was set to something that has
> dot as decimal separator. Mine has comma, as have many others...
>
>

Won't it just do a string comparison, then? That's probably good enough
in this instance.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-10-04 16:32:46 Re: PL/pgSQL Todo, better information in errcontext from plpgsql
Previous Message Zeugswetter Andreas DCP SD 2006-10-04 16:06:55 Re: [PATCHES] vcbuild bison check

Browse pgsql-patches by date

  From Date Subject
Next Message Strong, David 2006-10-04 16:36:07 Another aspect of set_ps_display ()
Previous Message Zeugswetter Andreas DCP SD 2006-10-04 16:06:55 Re: [PATCHES] vcbuild bison check