From 9eb4c7200cd0b8a77cbb10c71cb342bd83bd54ad Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 17 Feb 2003 11:18:45 +0000 Subject: [PATCH] [project @ 2003-02-17 11:18:45 by simonmar] Emit an error if we're trying to build GHC from source without GHC installed. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 86e3a98..cb45623 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 -------------------------------------------------------------- -- 1.7.10.4