]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Probe $PROVE not $PERL while checking for modules needed by TAP tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Nov 2021 17:54:52 +0000 (12:54 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Nov 2021 17:54:52 +0000 (12:54 -0500)
commite9af18c6c5512566c409c2ff99083fc1d89ff314
tree67afc78ec1be8c4614c3c27886d63b75d3e18c27
parentc985a43df379e044e0de43c41daa1ba0847de459
Probe $PROVE not $PERL while checking for modules needed by TAP tests.

Normally "prove" and "perl" come from the same Perl installation,
but we support the case where they don't (mainly because the MSys
buildfarm animals need this).  In that case, AX_PROG_PERL_MODULES
is completely the wrong thing to use, because it's checking what
"perl" has.  Instead, make a little TAP test script including the
required modules, and run that under "prove".

We don't need ax_prog_perl_modules.m4 at all after this change,
so remove it.

Back-patch to all supported branches, for the buildfarm's benefit.
(In v10, this also back-patches the effects of commit 264eb03aa.)

Andrew Dunstan and Tom Lane, per an observation by Noah Misch

Discussion: https://postgr.es/m/E1moZHS-0002Cu-Ei@gemulon.postgresql.org
aclocal.m4
config/ax_prog_perl_modules.m4 [deleted file]
config/check_modules.pl [new file with mode: 0644]
configure
configure.ac