Move pg_upgrade's Windows link() implementation to AC_REPLACE_FUNCS

Peter Eisentraut <peter@eisentraut.org>

Commit: 0ad6f848eef267489d4aee7306c16f96454b7a64
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2020-03-04T07:22:54Z
Releases: 13.0
Move pg_upgrade's Windows link() implementation to AC_REPLACE_FUNCS

This way we can make use of it in other components as well, and it
fits better with the rest of the build system.

Discussion: https://www.postgresql.org/message-id/flat/72fff73f-dc9c-4ef4-83e8-d2e60c98df48%402ndquadrant.com

Files

PathChange+/−
configure modified +13 −0
configure.in modified +1 −0
src/bin/pg_upgrade/file.c modified +2 −25
src/bin/pg_upgrade/pg_upgrade.h modified +0 −2
src/include/pg_config.h.in modified +3 −0
src/include/port.h modified +4 −0
src/port/link.c added +35 −0
src/tools/msvc/Mkvcbuild.pm modified +1 −1
src/tools/msvc/Solution.pm modified +1 −0

Discussion