2020-08-19 03:58:14 +08:00
|
|
|
diff --git a/configure b/configure
|
2023-01-04 02:32:17 +08:00
|
|
|
index 2be953f7e7..e075949ffc 100755
|
2020-08-19 03:58:14 +08:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2023-01-04 02:32:17 +08:00
|
|
|
@@ -6497,6 +6497,7 @@ enabled openssl && { { check_pkg_config openssl "openssl >= 3.0.0
|
|
|
|
{ enabled gplv3 || ! enabled gpl || enabled nonfree || die "ERROR: OpenSSL >=3.0.0 requires --enable-version3"; }; } ||
|
|
|
|
{ enabled gpl && ! enabled nonfree && die "ERROR: OpenSSL <3.0.0 is incompatible with the gpl"; } ||
|
|
|
|
check_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl ||
|
2020-08-19 03:58:14 +08:00
|
|
|
check_pkg_config openssl openssl openssl/ssl.h SSL_library_init ||
|
|
|
|
+ check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto $pthreads_extralibs -ldl ||
|
2020-10-07 15:23:23 +08:00
|
|
|
check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto ||
|
2020-08-19 03:58:14 +08:00
|
|
|
check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto ||
|
|
|
|
check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
|
2023-01-04 02:32:17 +08:00
|
|
|
|