mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
0cdaafffc5
check_prog, when used with a `when` argument, doesn't work the same way as putting it under a `with only_when()` block, while it should. The difference comes from the fact that `with only_when()` applies the `when` to every option and depends used in the block (which check_prog calls a bunch of). So, we "manually" apply the `when` to all option and depends in check_prog. An alternative solution would be to put the whole function under a `with only_when()` block, but that would mean reindenting the whole function. Either way, as a consequence, this requires the `when` to have a dependency on --help for "non-trivial" functions, which fortunately, there's only one of. --HG-- extra : rebase_source : d91eca9e303c7062394d92a526983714ef3e612f |
||
---|---|---|
.. | ||
android-ndk.configure | ||
checks.configure | ||
compile-checks.configure | ||
compilers-util.configure | ||
headers.configure | ||
init.configure | ||
java.configure | ||
keyfiles.configure | ||
memory.configure | ||
old.configure | ||
pkg.configure | ||
rust.configure | ||
toolchain.configure | ||
util.configure | ||
warnings.configure | ||
windows.configure |