Make configure check for a couple more Perl modules for --enable-tap-tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Mar 2018 19:16:16 +0000 (15:16 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Mar 2018 19:16:16 +0000 (15:16 -0400)
commit264eb03aab067da6db2a0de907a8421ce6865d60
tree3e0d8bb727f94bd7b1ada803afdfbf0fd7d821b4
parent94150513ec12c13eb7c98430fc34f477896d38c9
Make configure check for a couple more Perl modules for --enable-tap-tests.

Red Hat's notion of a basic Perl installation doesn't include Test::More
or Time::HiRes, and reportedly some Debian installs also omit Time::HiRes.
Check for those during configure to spare the user the pain of digging
through check-world output to find out what went wrong.  While we're at it,
we should also check the version of Test::More, since TestLib.pm requires
at least 0.87.

In principle this could be back-patched, but it's probably not necessary.

Discussion: https://postgr.es/m/516.1521475003@sss.pgh.pa.us
configure
configure.in