Re: FW: Postgresql on win32 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: FW: Postgresql on win32
Date
Msg-id Pine.LNX.4.30.0101221804200.1090-100000@peter.localdomain
Whole thread Raw
In response to Re: FW: Postgresql on win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: FW: Postgresql on win32  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> Actually, it might be easier to go back to keeping it in a file
> version.h (NOT .in) which configure could read it out of.  I never
> figured out why Peter put it directly in configure.in in the first
> place; that means it is actually hard-coded in two files (configure.in
> and configure) which is a recipe for trouble.  Peter?

The original reason was to make it available to non-C programs.  The
reason it was put in configure.in in particular was that the next Autoconf
upgrade would require that anyway.  (Well, nothing is required, but that's
kind of the way things were supposed to work.)

I think you can just define it empty since the only way it will be used
(in the subset of things Win32 builds) is for psql --version output.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: MySQL and BerkleyDB (fwd)
Next
From: Peter Eisentraut
Date:
Subject: Re: AW: Re: MySQL and BerkleyDB (fwd)