Skip to content

Commit 55a428a

Browse files
committed
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 c8e4030, so backpatch down to 16. Reviewed-by: Peter Eisentraut, Daniel Gustafsson, Tom Lane Discussion: https://postgr.es/m/ZTW9yOlZaSVoFhTz@paquier.xyz Backpatch-through: 16
1 parent d8fd08e commit 55a428a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

configure

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14077,6 +14077,9 @@ $as_echo_n "checking for OPENSSL... " >&6; }
1407714077
$as_echo "$OPENSSL" >&6; }
1407814078
fi
1407914079

14080+
pgac_openssl_version="$($OPENSSL version 2> /dev/null || echo openssl not found)"
14081+
{ $as_echo "$as_me:${as_lineno-$LINENO}: using openssl: $pgac_openssl_version" >&5
14082+
$as_echo "$as_me: using openssl: $pgac_openssl_version" >&6;}
1408014083
if test "$with_ssl" = openssl ; then
1408114084
ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
1408214085
if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,6 +1553,8 @@ if test "$with_gssapi" = yes ; then
15531553
fi
15541554

15551555
PGAC_PATH_PROGS(OPENSSL, openssl)
1556+
pgac_openssl_version="$($OPENSSL version 2> /dev/null || echo openssl not found)"
1557+
AC_MSG_NOTICE([using openssl: $pgac_openssl_version])
15561558
if test "$with_ssl" = openssl ; then
15571559
AC_CHECK_HEADER(openssl/ssl.h, [], [AC_MSG_ERROR([header file <openssl/ssl.h> is required for OpenSSL])])
15581560
AC_CHECK_HEADER(openssl/err.h, [], [AC_MSG_ERROR([header file <openssl/err.h> is required for OpenSSL])])

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy