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 E1msBS5-0000ZE-ML@gemulon.postgresql.org
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/0dc14a31-acaf-8cae-0df4-a87339b22bd9@gmail.com

Branch
------
master

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

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