RE: FW: Postgresql on win32

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема RE: FW: Postgresql on win32
Дата
Msg-id 215896B6B5E1CF11BC5600805FFEA82104801642@sirius.edu.sollentuna.se
обсуждение исходный текст
Ответ на FW: Postgresql on win32  (Magnus Hagander <mha@sollentuna.net>)
Ответы Re: FW: Postgresql on win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Magnus Hagander <mha@sollentuna.net> writes:
> >> 2) PG_VERSION is no longer defined in version.h[.in], but in 
> >> configure.in. Since we don't do configure on native win32, we 
> >> need to put it in config.h.win32 :-(
> 
> Putting
> 
> > ! #define PG_VERSION 7.1
> > ! #define PG_VERSION_STR "7.1 (win32)"
> 
> into config.h.win32 is most certainly *not* an acceptable solution.
> We are not going to start maintaining this file's idea of the version
> by hand, now that we've centralized the version info otherwise.
> Find another way.

I definitly did not like that either.. Hmm.

Question: Can I assume that configure.in stays the way it is now? In the way
that if I could just extract the line "VERSION='xyz'" from it, that will
continue to work? It might be possible to do something around that. If not,
then does anybody else have an idea of how to do it since autoconf won't
work?

I thought it *was* already centralised in 7.0, but back then it was in a
header file (version.h), which made it cross-platform... I'm sure there is
some advantage of having it in configure.in, but it does make it a *lot*
harder to support it on Win32, with it's very limited scripting environment
(by default).


//Magnus


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: RE: AW: FW: Postgresql on win32
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FW: Postgresql on win32