X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2Fhc-build;h=367cfd6d30944723f563f456aa2736b3bf54a654;hb=f23d940ee5d97f4395bf4f4c87a5b4a6a30af9d8;hp=3f1824a22cab499044bc96166e3ecea69ec8212e;hpb=1e61a47aa3b81be8cf6e5b30e041e552d226b409;p=ghc-hetmet.git diff --git a/distrib/hc-build b/distrib/hc-build index 3f1824a..367cfd6 100644 --- a/distrib/hc-build +++ b/distrib/hc-build @@ -2,13 +2,15 @@ # Manuel M. T. Chakravarty , June 2000 # Updated for GHC 5.00, Simon Marlow, March 2001 +# Updated for GHC 5.04.3, Urban Boquist, March 2003 # # Script to build GHC from .hc files (must be run in the fptools/ root # directory into which the source and .hc files must already have been # unpacked). All options are passed through to ./configure (especially # useful with --prefix). -configopts="$*" +configopts="$*" # e.g., --enable-hc-boot-unregisterised +PWD=`pwd` # check for GNU make # @@ -24,30 +26,75 @@ fi # build configuration # +case "$configopts" in +*--enable-hc-boot-unregisterised*) cat >mk/build.mk <mk/build.mk <