Makefile.m32: major rework [ci skip] #9632
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This patch replaces `CURL_*` envvars  with more familiar ones, which are also used in autotools and other build tools and which have been in fact used internally by `Makefile.m32` scripts. `CURL_CC` is now `CC`, `CURL_RANLIB` -> `RANLIB`, `CURL_RC` -> `RC`, `CURL_STRIP` -> `STRIP`, `CURL_AR` -> `AR`. This aims to make configuration more straighforward. Also fix some indentation and delete `AR` assigments from src and examples, where the value wasn't used.  1d5b7b7  4440b6a Closes #xxxx
Override with `NGTCP2_LIBS`. This changes one error with another if mis-configured, while making the script shorter and simpler.
…ckend Things go complex quickly when introducing built-in support for mbedtls or wolfssl (also for the CURL_WITH_MULTI_SSL setting), but for SSL vs SCHANNEL only, the logic can remain simple. To scale better, probably Makefile.m32 should not be overly clever here, but instead expect the caller to explicitly set all necessary components.
This can cause problems when we want to build with a TLS-backend that has no built-in support in Makefile.m32, e.g. SSH2 + wolfssl and without Schannel. After this patch, the CFG must contain any necessary TLS backend explicitly.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge.