-
Notifications
You must be signed in to change notification settings - Fork 7.9k
allow to build with system liburiparser #18886
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
a6fbc68
to
59a21c3
Compare
That's likely because the library is not actually used yet. See #18836. The current git HEAD of uriparser contains some fixes contributed by Máté. |
:( BTW, I think we should allow building with system libraries, and bundled libraries should be exceptional It seems a new version (0.9.9) will required (and we should encourage upstream to release it with needed patches) |
Yes.
Yes, once all the necessary changes are included upstream. |
Yes, 0.9.9 will likely be the next release for sure according to this review suggestion: uriparser/uriparser#230 (comment) |
59a21c3
to
2e6ae0e
Compare
@remicollet You can update this one after #19711 is merged. |
2e6ae0e
to
88da62f
Compare
rebased and version bump to 0.9.9 Tested locally with system liburiparser 0.9.9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks correct. Requesting review from Máté and the RMs.
@remicollet Note that the setters will only arrive with #19636, but I don't expect any further upstream patches. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RM approval, technical review not performed, noticed what I think is a typo if you want to address it
ext/uri/config.m4
Outdated
PHP_ARG_WITH([external-uriparser], | ||
[for external/system liburiparser], | ||
[AS_HELP_STRING([--with-external-uriparser], | ||
[Use external system liburiparser])], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: others use "external" only:
[AS_HELP_STRING([--with-external-gd],
[Use external libgd])],
This seems correct, because it might be the system one (it might not), but it's definitely external.
4ea91a8
to
f8ea48f
Compare
@TimWolla please review again for you change in phpinfo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that makes sense to me.
Thanks for the reviews |
To avoid another bundled library
Test suite with version 0.9.8 passes
Notice: It seems the bundled version is not really 0.9.8, but rather a git snapshot
New build option
--with-external-uriparser
(as we already have--with-external-gd
and--with-external-libcrypt
)Use bundled sources by default.