Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f4fb4c

Browse files
committed
Generate pg_config.h from pg_config.h.in on Windows
Previously, the Windows MSVC build generated pg_config.h from ahard-coded pg_config.h.win32 with some ad hoc postprocessing. Thepg_config.h.win32 file required manual maintenance and was as a resultfrequently out of date.Instead, have the MSVC build scripts emulate what configure andconfig.status do: collect a list of defines and then createpg_config.h from pg_config.h.in by changing the appropriate lines.The previous setup was made to support old Windows build systems thatdidn't have any text processing capabilities, but the current systemhas Perl, so it's not a problem. pg_config.h.win32 is removed.In order to try to keep the Windows side of things more up to date inthe future, we now also require that all symbols found inpg_config.h.in are defined in the MSVC build system. So if there is achange in configure that results in a new symbol, an update inSolution.pm will be required.The other headers managed by AC_CONFIG_HEADERS in configure, namelysrc/include/pg_config_ext.h andsrc/interfaces/ecpg/include/ecpg_config.h, get the same treatment, sothis removes even more ad hoc code in the MSVC build scripts.Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://www.postgresql.org/message-id/flat/1441b834-f434-e0bf-46ed-9c4d5c29c2d4%402ndquadrant.com
1 parentdf7fe9e commit8f4fb4c

File tree

4 files changed

+433
-859
lines changed

4 files changed

+433
-859
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp