PL/Perl portability fix: absorb relevant -D switches from Perl.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: df52739ce3e7b57791c3d2278fa945a4bed61947
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-07-31T16:38:35Z
Releases: 9.5.8
PL/Perl portability fix: absorb relevant -D switches from Perl.

Back-patch of commit 3c163a7fc76debbbdad1bdd3c43721cffe72f4db,
which see for more info.

Also throw in commit b4cc35fbb709bd6fcae8998f041fd731c9acbf42,
so Coverity doesn't whine about the back branches.

Ashutosh Sharma, some adjustments by me

Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=rcA@mail.gmail.com

Files

PathChange+/−
config/perl.m4 modified +25 −0
configure modified +13 −0
configure.in modified +1 −0
contrib/hstore_plperl/Makefile modified +1 −1
src/Makefile.global.in modified +1 −0
src/pl/plperl/GNUmakefile modified +5 −1
src/pl/plperl/plperl.c modified +17 −11
src/tools/msvc/Mkvcbuild.pm modified +25 −2

Discussion