distrib/configure: Canonicalize triples
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 20 Jul 2017 15:34:00 +0000 (11:34 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 20 Jul 2017 15:34:01 +0000 (11:34 -0400)
commit1480080b31e9f7cd47ca7b677455b3558b0da2bc
tree932a7b9782c5f503c108c64074c3e7b92464c056
parentbade356f79d44c9f6e8918a89d9ffac7f5608dbf
distrib/configure: Canonicalize triples

Previously we failed to do this, which meant that the bindist's
configure would fail when passed --target (as you may need to do when
installing an armv7 bindist on an aarch64 machine, for instance).

Reviewers: hvr, erikd, austin

Reviewed By: hvr

Subscribers: rwbarton, thomie

GHC Trac Issues: #13934

Differential Revision: https://phabricator.haskell.org/D3761
distrib/configure.ac.in