mozilla/rust — pull request #10220 by luqmana (2013-11-01 07:15:15+00:00)
Title: configure: Fix passing multiple target and host triples.

Previously we were actually overwriting `CFG_{HOST,TARGET,BUILD}` with `CFG_{HOST,TARGET,BUILD}_TRIPLE(S)` since configure tested for the legacy one by checking if it was empty which would never be the case. That meant it wouldn't split up multiple triples and just treat it as one long triple. Instead I made the default for the legacy options to be empty and hence only be considered when non-empty.