-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
configure: Add option to disable automagic dependency on zstd #2305
Conversation
mklove/modules/configure.zstd
Outdated
function manual_checks { | ||
local action=$1 | ||
local action=${1:-disable} |
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.
Why is this needed?
This commit will add an option which will allow you to explicit disable zstd usage.
function manual_checks { | ||
local action=$1 | ||
local action=${1:-disable} |
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.
why is a default value needed? it is always passed an action
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.
Not the PR author, but I assume @Whissi is simply following the precedent set by libssl and libsasl2:
- https://github.com/edenhill/librdkafka/blob/b3223ecea638bfacc6d9ec981aa4df1d22ee9542/mklove/modules/configure.libssl#L22
- https://github.com/edenhill/librdkafka/blob/b3223ecea638bfacc6d9ec981aa4df1d22ee9542/mklove/modules/configure.libsasl2#L17
If this is indeed unnecessary, perhaps it should be removed from those other modules as well.
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.
Yes, that was my intention: Keep current style.
Not the PR author, but I'm interested in seeing this merged! Please see my response above. I actually think it would make sense to merge this as is for consistency with the other mklove lib modules and then if you'd like I can submit a follow-on PR to remove the default expansion across all of the mklove lib modules. |
Thank you! |
This commit will add an option which will allow you to explicit disable
zstd usage.