diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-03-25 13:52:46 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-03-25 13:52:46 +0100 |
commit | 6cb86a22fcd5ee43aa6840b3a9664d7576e99c87 (patch) | |
tree | 38293b336a1cc4ccfacfc95eea59c1af2895d5f9 | |
parent | e4b7eaa048cede222c2fd97591d5b8f8b1ef7257 (diff) | |
download | curl-bagder/openssl3-deprecations.tar.gz |
fixup configure use -DOPENSSL_SUPPRESS_DEPRECATED insteadbagder/openssl3-deprecations
-rwxr-xr-x | configure.ac | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index cfea58d18..31fc8ffb7 100755 --- a/configure.ac +++ b/configure.ac @@ -1891,13 +1891,9 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno && [Define to 1 if using OpenSSL 3 or later.]) dnl OpenSSLv3 marks the DES functions deprecated but we have no dnl replacements (yet) so tell the compiler to not warn for them - case "$compiler_id" in - CLANG | GNU_C) - CFLAGS="$CFLAGS -Wno-deprecated-declarations" - ;; - *) - ;; - esac + dnl + dnl Ask OpenSSL to suppress the warnings. + CPPFLAGS="$CPPFLAGS -DOPENSSL_SUPPRESS_DEPRECATED" ssl_msg="OpenSSL v3+" ],[ AC_MSG_RESULT([no]) |