distrib/configure: Fail if we can't detect machine's word size
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 11 Jul 2017 22:40:31 +0000 (18:40 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 12 Jul 2017 12:55:00 +0000 (08:55 -0400)
commit60ec8f74d32a9976ac8ddf6fd366218283fcac3e
tree4e29c75a7c06b19ea187cd9f6ba81b5b01788fc8
parent1ee49cb11c7ad1af20c117a5395df96ded9a729f
distrib/configure: Fail if we can't detect machine's word size

This is a sure sign that something is terribly wrong.

We also now verify that the word size that the binary distribution
expects matches the word size produced by the local target toolchain.

Finally we rename WordSize to TargetWordSize, since non-host/target
qualified quantities are terribly confusing.

Reviewers: austin, hvr, Phyx

Reviewed By: Phyx

Subscribers: Phyx, rwbarton, thomie, erikd

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