Re: Change to config.pl processing in the msvc build environment

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Change to config.pl processing in the msvc build environment
Date: 2010-01-02 11:24:49
Message-ID: 9837222c1001020324r6a82f476rab728d386460019f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 2, 2010 at 02:20, Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
> Magnus Hagander wrote:
>
>> I therefor propose that we rename this file to "config.pl.default",
>> and change the scripts to first load config.pl.default, and then load
>> config.pl if it exists. config.pl then lives completely outside the
>> source tree (should be in .cvsignore) and won't show up in any diffs
>> or anything.
>
> I've used similar tricks elsewhere and find them pretty useful.  The
> patch looks reasonably sane to someone 101% unfamiliar with our MSVC
> stuff (except that I'd get rid of the parentheses in the "do foo unless
> -f $file" lines).

You now, that's what I had first. Then I changed it to add the
parentheses to make it look like a similar piece of code nearby,
written by somebody much more perly than I am. But now that I think of
it, it may well be me who wrote that code earlier as well, so that'd
no good excuse :-)

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergej Galkin 2010-01-02 11:37:36 problem with gist index amdb utility
Previous Message Magnus Hagander 2010-01-02 11:17:42 Re: Win64 warnings about size_t