[project @ 2005-03-10 14:03:28 by simonmar]
[ghc-hetmet.git] / ghc / mk / config.mk.in
index 27cfbd7..4bee7c8 100644 (file)
@@ -19,7 +19,8 @@ endif
 
 GhcBinDistPrlScripts = 
 GhcBinDistLibPrlScripts = ghc-asm ghc-split
-GhcBinDistBins = hp2ps ghcprof
+GhcBinDistBins = hp2ps ghcprof runghc
+GhcBinDistOptBins = runhaskell
 GhcBinDistLinks = ghc ghci ghc-pkg
 GhcBinDistLibSplicedFiles = package.conf
 
@@ -51,7 +52,13 @@ ghc_ge_504 = YES
 ghc_ge_601 = YES
 ghc_ge_603 = YES
 else
+ifeq "$(BootingFromHc)" "YES"
+ghc_ge_504 = YES
+ghc_ge_601 = YES
+ghc_ge_603 = YES
+else
 ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
 ghc_ge_601 = $(shell if (test $(GhcCanonVersion) -ge 601); then echo YES; else echo NO; fi)
 ghc_ge_603 = $(shell if (test $(GhcCanonVersion) -ge 603); then echo YES; else echo NO; fi)
 endif
+endif