[php-src] PR #16787: Remove superfluous determination of cURL version
| From: | cmb69 | Date: | Wed, 13 Nov 2024 21:03:51 +0000 |
| Subject: | [php-src] PR #16787: Remove superfluous determination of cURL version | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29631@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16787
Author: cmb69
This was originally meant to distinguish between libcurl 7.59.0 and earlier; only the latter would
need to be linked against normalize.lib, libssh2.lib and nghttp2.lib[1]. That would only have
catered to our builds, and might not have been correct anyway. However, the version check was wrong
(paren error), and has been removed in the meantime[2].
Given that cURL 7.59.0 is rather old, we do not reinstate the version check, but rather drop the now
superfluous (and improper) determination of the cURL version. A nice bonus is that we get rid of
some global variables.
[1] <https://github.com/php/php-src/commit/a1ba3007a452fb2618526ed7159236362219a208>
[2] <https://github.com/php/php-src/commit/94a12d5b315aa73a24b96cfebb4fd38b8e9b800e>