Remove dependency on psed for MSVC builds.
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 19 Mar 2016 22:36:35 +0000 (18:36 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 19 Mar 2016 22:36:35 +0000 (18:36 -0400)
commit5d0320105699c253fe19b8b42ae1bffb67785b02
treeedd73911a84588528dbc8b740958f6f613da8b43
parentd5351fcb03fc8e20651d5863b88b397a8be68d74
Remove dependency on psed for MSVC builds.

Modern Perl has removed psed from its core distribution, so it might not
be readily available on some build platforms. We therefore replace its
use with a Perl script generated by s2p, which is equivalent to the sed
script. The latter is retained for non-MSVC builds to avoid creating a
new hard dependency on Perl for non-Windows tarball builds.

Backpatch to all live branches.

Michael Paquier and me.
src/backend/utils/Gen_dummy_probes.pl [new file with mode: 0644]
src/tools/msvc/Solution.pm