X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2Fhc-build;h=367cfd6d30944723f563f456aa2736b3bf54a654;hb=69a46499cfcf6797d3e326cae56f1da41704e687;hp=e140653902fd0bdb59d8e023ce6652b440080e8f;hpb=f463e006364033aee25d792dbb5a8386ebecb5ba;p=ghc-hetmet.git diff --git a/distrib/hc-build b/distrib/hc-build index e140653..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,31 +26,75 @@ fi # build configuration # +case "$configopts" in +*--enable-hc-boot-unregisterised*) cat >mk/build.mk <mk/build.mk <