diff options
author | simonmar <unknown> | 2003-02-17 11:18:45 +0000 |
---|---|---|
committer | simonmar <unknown> | 2003-02-17 11:18:45 +0000 |
commit | 9eb4c7200cd0b8a77cbb10c71cb342bd83bd54ad (patch) | |
tree | 43f901b78b29a235029eb00e9d5b08e96820aed6 /configure.in | |
parent | 5ee05a2b6c422f9fb4bcec184de9fdb49b82e43f (diff) | |
download | haskell-9eb4c7200cd0b8a77cbb10c71cb342bd83bd54ad.tar.gz |
[project @ 2003-02-17 11:18:45 by simonmar]
Emit an error if we're trying to build GHC from source without GHC installed.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 86e3a98908..cb45623036 100644 --- a/configure.in +++ b/configure.in @@ -468,6 +468,10 @@ AC_MSG_ERROR([--enable-hc-boot-unregisterised requires --enable-hc-boot.]) fi; fi; +dnl ** Must have GHC to build GHC, unless --enable-hc-boot is on +if test "$BootingFromHc" = "NO" -a "$WithGhc" = "" -a -d "$srcdir/ghc"; then +AC_MSG_ERROR([GHC is required unless bootstrapping from .hc files.]) +fi; dnl ** Enable multi-thread friendly RTS? dnl -------------------------------------------------------------- |