From: Simon Marlow Date: Tue, 8 Sep 2009 14:19:19 +0000 (+0000) Subject: remove --enable-hc-boot-unregisterised (implied by --enable-hc-boot now) X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=b5f2a027f2b951fc0fba2c9bd62bb7d13898030c remove --enable-hc-boot-unregisterised (implied by --enable-hc-boot now) and fix up related cruft --- diff --git a/configure.ac b/configure.ac index 41e6c3f..8fa8829 100644 --- a/configure.ac +++ b/configure.ac @@ -105,29 +105,6 @@ AC_ARG_ENABLE(hc-boot, ) AC_SUBST(BootingFromHc) -dnl ** Booting from unregisterised .hc files? -dnl -------------------------------------------------------------- -AC_ARG_ENABLE(hc-boot-unregisterised, -[AC_HELP_STRING([--enable-hc-boot-unregisterised], -[ With --enable-hc-boot, treat the intermediate .hc files as - unregisterised rather than registerised code. - (This option is mostly of interest to porters.) [default=no]])], -[ if test x"$enableval" = x"yes"; then - BootingFromUnregisterisedHc=YES - else - BootingFromUnregisterisedHc=NO - fi -], -[BootingFromUnregisterisedHc=NO] -) -AC_SUBST(BootingFromUnregisterisedHc) - -if test "$BootingFromHc" = "NO"; then -if test "$BootingFromUnregisterisedHc" = "YES"; then -AC_MSG_ERROR([--enable-hc-boot-unregisterised requires --enable-hc-boot.]) -fi; -fi; - AC_ARG_ENABLE(bootstrap-with-devel-snapshot, [AC_HELP_STRING([--enable-bootstrap-with-devel-snapshot], [Allow bootstrapping using a development snapshot of GHC. This is not guaranteed to work.])], diff --git a/ghc.mk b/ghc.mk index 9ce17a3..3990462 100644 --- a/ghc.mk +++ b/ghc.mk @@ -978,7 +978,7 @@ publish-sdist : $(call nTimes,10,$(PublishCp) $(SRC_DIST_TARBALL) $(PublishLocation)/dist) endif -ifeq "$(BootingFromUnregisterisedHc)" "YES" +ifeq "$(BootingFromHc)" "YES" SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER -D__GLASGOW_HASKELL__=$(ProjectVersionInt) endif diff --git a/mk/config.mk.in b/mk/config.mk.in index e1d79cf..ba5406b 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -35,12 +35,9 @@ include $(TOP)/mk/install.mk ################################################################################ # BootingFromHc - build GHC and the libraries from .hc files? +# (unregisterised only) BootingFromHc = @BootingFromHc@ -# BootingFromUnregisterisedHc - treat .hc files as containing unregisterised -# rather than registerised code, i.e., disable the mangler? -BootingFromUnregisterisedHc = @BootingFromUnregisterisedHc@ - NO_INCLUDE_DEPS = NO NO_INCLUDE_PKGDATA = NO