pgsql: Cope with cross-compiling when checking for a random-number sour - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Cope with cross-compiling when checking for a random-number sour
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Cope with cross-compiling when checking for a random-number source.

Commit 16f96c74d neglected to consider the possibility of cross-compiling,
causing cross-compiles to fail at the configure stage unless you'd
selected --with-openssl.  Since we're now more or less assuming that
/dev/urandom is available everywhere, it seems reasonable to assume
that the cross-compile target has it too, rather than failing.

Per complaint from Vincas Dargis.  Back-patch to v14 where this came in.

Discussion: https://postgr.es/m/[email protected]

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/175edafd1f30a78643359b56c5545b5e7aabfb50

Modified Files
--------------
configure    | 5 ++++-
configure.ac | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pgsql: Add TAP tests for contrib/sslinfo
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Extend the private key stat checking error handling