X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=distrib%2Fhc-build;h=f64345fbc270a992d30d03ac648f22246841eb53;hp=f0ad9dc5449c4861063b9d165cbdadc4adcab069;hb=cab3c5cb1a0038412472172cb0b25bc81dfdde8f;hpb=81e3aa0f6ace5e28f1edbad81a5b9f9c6a211967 diff --git a/distrib/hc-build b/distrib/hc-build index f0ad9dc..f64345f 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,29 +26,76 @@ fi # build configuration # +case "$configopts" in +*--enable-hc-boot-unregisterised*) cat >mk/build.mk <mk/build.mk <