PL/Perl portability fix: absorb relevant -D switches from Perl.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Jul 2017 16:38:35 +0000 (12:38 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Jul 2017 16:38:35 +0000 (12:38 -0400)
commit1e58c503ec46ec78ddf19aa5bad7d095f14e042b
tree4cfe966da89e13dc896dd9024b3c29a94cf91fd3
parent30a5c8bfbd7bec07385c7d40305b06385d700b3f
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
config/perl.m4
configure
configure.in
contrib/hstore_plperl/Makefile
src/Makefile.global.in
src/pl/plperl/GNUmakefile
src/pl/plperl/plperl.c
src/tools/msvc/Mkvcbuild.pm