[Bug #77241] ext/intl: Use pkg-config to detect icu#3701
[Bug #77241] ext/intl: Use pkg-config to detect icu#3701hughmcmaster wants to merge 1 commit intophp:masterfrom
Conversation
|
Closely related to PR #3654. |
e2b117d to
137318a
Compare
|
LGTM. Only thing I'm uncertain about is whether we need to preserve the |
|
@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. |
|
@hughdavenport Yeah, we shouldn't keep the current implementation of the macro around, but it would be possible to move the new implementation into |
|
@nikic That seems fair. I thought moving to |
The developers of icu recommend using pkg-config to detect icu, because icu-config is deprecated.
137318a to
99cc551
Compare
|
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.