dist/setup-config has the following header:
Saved package config for issue1244-1.0 written by Cabal-1.17.0 using ghc-7.4
This information is used for checking whether we should reconfigure. Now that we support cross-compilation, we should probably also save $arch and $os there.