From: simonmar Date: Mon, 17 Feb 2003 11:18:45 +0000 (+0000) Subject: [project @ 2003-02-17 11:18:45 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1158 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=9eb4c7200cd0b8a77cbb10c71cb342bd83bd54ad;p=ghc-hetmet.git [project @ 2003-02-17 11:18:45 by simonmar] Emit an error if we're trying to build GHC from source without GHC installed. --- 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 --------------------------------------------------------------