[php-src] PR #14192: ext/intl: don't always enforce c++17
| From: | jpalus | Date: | Fri, 10 May 2024 09:36:19 +0000 |
| Subject: | [php-src] PR #14192: ext/intl: don't always enforce c++17 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26099@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14192
Author: jpalus
the intention of this condition was to check if build is done against icu >= 74 while in practice
it's a condition in the form of
test STRING which in turn is equivalent to
test -n STRING that checks if passed string is not empty. condition is always satisfied
and hence c++17 is also always required.
strip test part and invoke pkg-config directly in condition.