curl/CMake
Viktor Szakats c90c78333b
build: streamline non-UWP wincrypt detections
- with CMake, use the variable `WINDOWS_STORE` to detect an UWP build
  and disable our non-UWP-compatible use the Windows crypto API. This
  allows to drop two dynamic feature checks.

  `WINDOWS_STORE` is true when invoking CMake with
  `CMAKE_SYSTEM_NAME` == `WindowsStore`. Introduced in CMake v3.1.

  Ref: https://cmake.org/cmake/help/latest/variable/WINDOWS_STORE.html

- with autotools, drop the separate feature check for `wincrypt.h`. On
  one hand this header has been present for long (even Borland C 5.5 had
  it from year 2000), on the other we used the check result solely to
  enable another check for certain crypto functions. This fails anyway
  with the header not present. We save one dynamic feature check at the
  configure stage.

Reviewed-by: Marcel Raad
Closes #11657
2023-08-13 13:51:19 +00:00
..
Platforms build: streamline non-UWP wincrypt detections 2023-08-13 13:51:19 +00:00
cmake_uninstall.cmake.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CMakeConfigurableFile.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-config.cmake.in cmake: fix to use variable for the curl namespace 2023-08-09 12:01:46 +00:00
CurlSymbolHiding.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CurlTests.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindBearSSL.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindBrotli.cmake cmake: fix dev warning due to mismatched arg 2023-02-12 01:45:48 -05:00
FindCARES.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindGSS.cmake cmake: use list APPEND syntax for CMAKE_REQUIRED_DEFINITIONS 2023-01-24 03:09:09 -05:00
FindLibPSL.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindLibSSH2.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindMbedTLS.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindMSH3.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindNGHTTP2.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindNGHTTP3.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindNGTCP2.cmake cmake: update ngtcp2 detection 2023-07-24 18:13:53 +00:00
FindQUICHE.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindWolfSSL.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindZstd.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Macros.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
OtherTests.cmake cmake: drop HAVE_LIBWINMM and HAVE_LIBWS2_32 feature checks 2023-08-08 09:10:03 +00:00
PickyWarnings.cmake cmake: speed up and extend picky clang/gcc options 2023-04-16 22:28:25 +00:00
Utilities.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00