Consolidate `TablesNextToCode` and `GhcUnreigsterised` in configure (#15548)

`TablesNextToCode` is now a substituted by configure, where it has the
correct defaults and error handling. Nowhere else needs to duplicate
that, though we may want the compiler to to guard against bogus settings
files.

I renamed it from `GhcEnableTablesNextToCode` to `TablesNextToCode` to:

 - Help me guard against any unfixed usages

 - Remove any lingering connotation that this flag needs to be combined
   with `GhcUnreigsterised`.

Original reviewers:

Original subscribers: TerrorJack, rwbarton, carter

Original Differential Revision: https://phabricator.haskell.org/D5082
21 jobs for master in 362 minutes and 55 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Lint
passed #140467
lint
lint-linters

00:00:17

passed #140470
lint
lint-submods-branch

00:00:16

passed #140468
lint
lint-testsuite

00:00:18

passed #140469
lint
typecheck-testsuite

00:00:14

 
  Build
passed #140472
x86_64-linux
hadrian-ghc-in-ghci

00:17:18

passed #140474
x86_64-linux
release-x86_64-linux-deb9-dwarf

01:06:25

passed #140473
x86_64-linux
validate-x86_64-linux-deb9-debug

03:00:13

passed #140471
x86_64-linux
validate-x86_64-linux-deb9-hadrian

03:06:28

 
  Full Build
failed #140476
aarch64-linux allowed to fail
validate-aarch64-linux-deb9

02:23:26

passed #140477
x86_64-linux
validate-i386-linux-deb9

01:45:38

passed #140475
x86_64-darwin
validate-x86_64-darwin

00:56:55

passed #140478
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

01:44:27

passed #140479
x86_64-linux
validate-x86_64-linux-deb9-unreg

01:57:46

passed #140480
x86_64-linux
validate-x86_64-linux-fedora27

01:47:33

failed #140482
x86_64-windows allowed to fail
validate-x86_64-windows

failed #140481
x86_64-windows allowed to fail
validate-x86_64-windows-hadrian

 
  Cleanup
passed #140483
x86_64-darwin
cleanup-darwin

00:00:06

 
  Packaging
failed #140484
x86_64-linux allowed to fail
doc-tarball

00:02:22

 
  Testing
manual #140485
x86_64-linux allowed to fail manual
hackage
passed #140486
x86_64-linux
perf-nofib

00:24:33

 
  Deploy
failed #140487
x86_64-linux allowed to fail
pages

00:05:20

 
Name Stage Failure
failed
doc-tarball Packaging
Submodule path 'utils/hsc2hs': checked out 'efb556cc2689cae42abadae87d778ae20fbc0a14'
$ git checkout .gitmodules
$ git fetch https://gitlab.haskell.org/ghc/ghc-performance-notes.git refs/notes/perf:refs/notes/perf || true
warning: no common commits
From https://gitlab.haskell.org/ghc/ghc-performance-notes
* [new ref] refs/notes/perf -> refs/notes/perf
$ if [ ! -f "$LINUX_BINDIST" ]; then # collapsed multi-line command
Error: ghc-x86_64-mingw32.tar.xz does not exist. Did the 64-bit Windows job fail?
ERROR: Job failed: exit code 1
failed
pages Deploy
$ git fetch https://gitlab.haskell.org/ghc/ghc-performance-notes.git refs/notes/perf:refs/notes/perf || true
warning: no common commits
From https://gitlab.haskell.org/ghc/ghc-performance-notes
* [new ref] refs/notes/perf -> refs/notes/perf
$ mkdir -p public/doc
$ tar -xf haddock.html.tar.xz -C public/doc
tar: haddock.html.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ERROR: Job failed: exit code 1
failed
validate-aarch64-linux-deb9 Full Build
cp: error writing 'cabal-cache/world': No space left on device
Uploading artifacts...
WARNING: ghc-*.tar.xz: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1
failed
validate-x86_64-windows-hadrian Full Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log
failed
validate-x86_64-windows Full Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log