# t : ticky-ticky profiling
# debug_t : debugging ticky-ticky profiling
#
-ifeq "$(BootingFromHc)" "YES"
GhcRTSWays=
-else
-GhcRTSWays=thr thr_p debug thr_debug
+
+# Usually want the debug version
+ifeq "$(BootingFromHc)" "NO"
+GhcRTSWays += debug
endif
+# Want the threaded versions unless we're unregisterised
+# Defer the check until later by using $(if..), because GhcUnregisterised might
+# be set in build.mk, which hasn't been read yet.
+GhcRTSWays += $(if $(findstring NO, $(GhcUnregisterised)),thr thr_p thr_debug,)
+
# Option flags to pass to GHC when it's compiling modules in
# fptools/libraries. Typically these are things like -O or
# -dcore-lint or -H32m. The ones that are *essential* are wired into
ghc_ge_602 = YES
ghc_ge_603 = YES
ghc_ge_605 = YES
+ghc_ge_607 = YES
else # not UseStage1 or BootingFromHc
ghc_ge_602 = @ghc_ge_602@
ghc_ge_603 = @ghc_ge_603@
ghc_ge_605 = @ghc_ge_605@
+ghc_ge_607 = @ghc_ge_607@
endif
# Canonicalised ghc version number, used for easy (integer) version
# GTK+
GTK_CONFIG = @GTK_CONFIG@
+# Set this if you want to use Inno Setup to build a Windows installer
+# when you make a bindist
+ISCC =
+
#-----------------------------------------------------------------------------
# DocBook XML stuff