-
Notifications
You must be signed in to change notification settings - Fork 8k
[Bug #77241] ext/intl: Use pkg-config to detect icu #3701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.