]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #17890 : pnkfelix/rust/fsk-fix-issue-17887, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 27 Oct 2014 12:02:42 +0000 (12:02 +0000)
committerbors <bors@rust-lang.org>
Mon, 27 Oct 2014 12:02:42 +0000 (12:02 +0000)
Fixes `config.mk` so that it should not contain multiple inconsistent entries for the same option.

Used aforementioned variants to extract options that have explicit `putvar` calls associated with them in the subsequent code.  When the explicit `putvar` call was conditional on some potentially complex condition, moved the `putvar` call out to the main control flow of the script so that it always runs if necessary.

----

As a driveby fix, captured the error exit when doing the test run of `rustc --version` from `CFG_LOCAL_RUST_ROOT`, and signal explicit configure failure when it did not run successfully.  (If we cannot run `rustc`, we really shouldn't try to keep going.)

----

Fix #17887.


Trivial merge