Uh oh!
There was an error while loading. Please reload this page.
[Bug #77241] ext/intl: Use pkg-config to detect icu - #3701
Conversation
cmb69
commented
Dec 5, 2018
Closely related to PR #3654. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hughmcmaster
commented
Dec 5, 2018
nikic
commented
Dec 5, 2018
LGTM. Only thing I'm uncertain about is whether we need to preserve the |
hughmcmaster
commented
Dec 5, 2018
@nikic Thanks. Remember, though, that That said, if you still want to keep the macro, I'll update the PR for this. Please let me know what you want to do. |
nikic
commented
Dec 5, 2018
@hughdavenport Yeah, we shouldn't keep the current implementation of the macro around, but it would be possible to move the new implementation into |
hughmcmaster
commented
Dec 5, 2018
@nikic That seems fair. I thought moving to |
The developers of icu recommend using pkg-config to detect icu, because icu-config is deprecated.
hughmcmaster
commented
Dec 5, 2018
nikic
commented
Dec 9, 2018
Merged as 20fa2e7. Thanks a lot! |
icu-confighas been deprecated by its upstream developers for some years now. In icu 63.1,icu-configis optional to install, but is installed by default. In the next version,icu-configwill no longer be installed by default.The developers recommend downstream packages use
pkg-configto detect the icu libraries.Debian (and its derivatives, such as Ubuntu) will remove
icu-configfrom its icu development package (libicu-dev) very soon. Hence, php needs to usepkg-configto detect icu.