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