Re: Show version of OpenSSL in ./configure output

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-10-23T01:00:43Z
Lists: pgsql-hackers
On Sun, Oct 22, 2023 at 08:34:40PM -0400, Tom Lane wrote:
> +1, I've wished for that too.  It's not 100% clear that whatever
> openssl is in your PATH matches the libraries we select, but this
> will get it right in most cases and it seems like about the right
> level of effort.

Yes, I don't reallt want to add more macros for the sake of this
information.

> +  pgac_openssl_version="$($OPENSSL version 2> /dev/null || echo no)"
> 
> Maybe "echo 'openssl not found'" would be better.

Sure.
--
Michael

Commits

  1. Log OpenSSL version in ./configure output