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/