pgsql: Make configure check for a couple more Perl modules for --enable

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make configure check for a couple more Perl modules for --enable
Date: 2018-03-20 19:16:23
Message-ID: E1eyMkB-0001bL-LA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/264eb03aab067da6db2a0de907a8421ce6865d60

Modified Files
--------------
configure | 10 ++++++++--
configure.in | 6 ++++--
2 files changed, 12 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-03-20 20:09:15 pgsql: Add PGAC_PROG_VARCC_VARFLAGS_OPT autoconf macro.
Previous Message Alvaro Herrera 2018-03-20 18:55:29 Re: pgsql: Fix CommandCounterIncrement in partition-related DDL