summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <hans@erlang.org>2022-02-21 16:56:56 +0100
committerHans Nilsson <hans@erlang.org>2022-02-21 16:56:56 +0100
commit8de412bf081046f5745f39fc479faef1c3a2f72f (patch)
tree6011f37833379f1ac1e75de1dbe7be9b97acd7f3 /lib
parentfcac7ee479e29cb0705a00d4db771d5518c09b1e (diff)
downloaderlang-8de412bf081046f5745f39fc479faef1c3a2f72f.tar.gz
Update configure scripts
Diffstat (limited to 'lib')
-rwxr-xr-xlib/crypto/configure21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/crypto/configure b/lib/crypto/configure
index 7ca886f481..c7ced631ef 100755
--- a/lib/crypto/configure
+++ b/lib/crypto/configure
@@ -2488,6 +2488,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+## Delete previous failed configure results
+if test -f ./CONF_INFO; then
+ rm ./CONF_INFO
+fi
+
ac_aux_dir=
for ac_dir in ${ERL_TOP}/erts/autoconf; do
if test -f "$ac_dir/install-sh"; then
@@ -6322,6 +6327,22 @@ else
SSL_FLAGS=
fi
+if test "x$v3_include" = "xyes"; then
+ echo "Using OpenSSL 3.0 is not yet recommended for production code." >> ./CONF_INFO
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
+$as_echo "$as_me: WARNING: ******************************************************************" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * Using OpenSSL 3.0 is not yet recommended for production code. *" >&5
+$as_echo "$as_me: WARNING: * Using OpenSSL 3.0 is not yet recommended for production code. *" >&2;}
+
+ if test "x$SSL_DYNAMIC_ONLY" = "xno" ; then
+ echo "Static linking with OpenSSL 3.0 *MAY* require special configuring of the cryptolib." >> ./CONF_INFO
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * Static linking *MAY* require re-configuring the 3.0 cryptolib. *" >&5
+$as_echo "$as_me: WARNING: * Static linking *MAY* require re-configuring the 3.0 cryptolib. *" >&2;}
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
+$as_echo "$as_me: WARNING: ******************************************************************" >&2;}
+fi
+
if test "x$v3_include" = "xyes" && test "x$deprecated_warnings" = "xdefault_yes" && test "$CRYPTO_APP" != ""; then
deprecated_warnings=no
fi