]> git.lizzy.rs Git - rust.git/commit
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)
commite2cd4597dae1ed0aa3967bd2a656a42daa1ad27f
tree9b976166497db6fd783c4a43368dd999d4e8b081
parenta0efafbd85e2e0965746adba7e899ce904d324dc
parent6f1e6273880eb40ae12ffd11191fd8758ee437b9
auto merge of #17890 : pnkfelix/rust/fsk-fix-issue-17887, r=alexcrichton

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.