pgsql: Make configure check for IPC::Run when --enable-tap-tests is spe

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make configure check for IPC::Run when --enable-tap-tests is spe
Date: 2017-06-15 19:56:17
Message-ID: E1dLasL-0007Uw-MF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make configure check for IPC::Run when --enable-tap-tests is specified.

The TAP tests mostly don't work without IPC::Run, and the reason for
the failure is not immediately obvious from the error messages you get.
So teach configure to reject --enable-tap-tests unless IPC::Run exists.
Mostly this just involves adding ax_prog_perl_modules.m4 from the GNU
autoconf archives.

This was discussed last year, but we held off on the theory that we might
be switching to CMake soon. That's evidently not happening for v10,
so let's absorb this now.

Eugene Kazakov and Michael Paquier

Discussion: https://postgr.es/m/56BDDC20.9020506@postgrespro.ru
Discussion: https://postgr.es/m/CAB7nPqRVKG_CR4Dy_AMfE6DXcr6F7ygy2goa2atJU4XkerDRUg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c254970ad6092d201443cced570450d5b29d4234

Modified Files
--------------
aclocal.m4 | 1 +
config/ax_prog_perl_modules.m4 | 77 +++++++++++++++++++++++++++++++++++++++++
configure | 78 ++++++++++++++++++++++++++++++++++++++++++
configure.in | 3 ++
4 files changed, 159 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2017-06-15 22:54:51 Re: pgsql: Fix document bug regarding read only transactions.
Previous Message Tom Lane 2017-06-15 19:04:10 pgsql: Fix low-probability leaks of PGresult objects in the backend.