summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Paquier2023-10-25 00:26:22 +0000
committerMichael Paquier2023-10-25 00:26:22 +0000
commit55a428a18d03f332791e15db9ed6ee51156ecd3b (patch)
treeabb3ebad5dfc4018e46c95b9aadd5bda80979ca9 /configure
parentd8fd08efbc660788f9e735f9dda824c64bc9bd6b (diff)
Log OpenSSL version in ./configure output
This information is useful to know when scanning buildfarm results, and it is already displayed in Meson. The output of `openssl version` is logged, with the command retrieved from PATH. This depends on c8e4030d1bdd, so backpatch down to 16. Reviewed-by: Peter Eisentraut, Daniel Gustafsson, Tom Lane Discussion: https://postgr.es/m/[email protected] Backpatch-through: 16
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index c2cb1b1b247..cfd968235f7 100755
--- a/configure
+++ b/configure
@@ -14077,6 +14077,9 @@ $as_echo_n "checking for OPENSSL... " >&6; }
$as_echo "$OPENSSL" >&6; }
fi
+pgac_openssl_version="$($OPENSSL version 2> /dev/null || echo openssl not found)"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: using openssl: $pgac_openssl_version" >&5
+$as_echo "$as_me: using openssl: $pgac_openssl_version" >&6;}
if test "$with_ssl" = openssl ; then
ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :