cmake: optimize OpenSSL fork detection
No binary (build failed)
—
(log yok)
| @@ -851,10 +851,10 @@ if(CURL_USE_OPENSSL) | |
| if(NOT DEFINED HAVE_AWSLC) | |
| check_symbol_exists("OPENSSL_IS_AWSLC" "openssl/base.h" HAVE_AWSLC) | |
| endif() | |
| - | if(NOT DEFINED HAVE_BORINGSSL) |
| + | if(NOT DEFINED HAVE_BORINGSSL AND NOT HAVE_AWSLC) |
| check_symbol_exists("OPENSSL_IS_BORINGSSL" "openssl/base.h" HAVE_BORINGSSL) | |
| endif() | |
| - | if(NOT DEFINED HAVE_LIBRESSL) |
| + | if(NOT DEFINED HAVE_LIBRESSL AND NOT HAVE_AWSLC AND NOT HAVE_BORINGSSL) |
| check_symbol_exists("LIBRESSL_VERSION_NUMBER" "openssl/opensslv.h" HAVE_LIBRESSL) | |
| endif() | |
| cmake_pop_check_state() | |