X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=3c0b312adf46f959b051eca68b987e0417e96d58;hp=eaefe4a56efa77339c5cd1f38b040bef6d96d956;hb=f6e429f8f5a533d699a69ffc733a56be5ddff5a9;hpb=7895455f8dc327c6b447f9287d6e76ddcd253183 diff --git a/mk/config.mk.in b/mk/config.mk.in index eaefe4a..3c0b312 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -641,6 +641,19 @@ INSTALL_HEADER = $(INSTALL) -m 644 INSTALL_MAN = $(INSTALL) -m 644 INSTALL_DIR = $(MKDIRHIER) +# +# runhaskell and hsc2hs are special, in that other compilers besides +# GHC might provide them. Systems with a package manager often come +# with tools to manage this kind of clash, e.g. RPM's +# update-alternatives. When building a distribution for such a system, +# we recommend setting both of the following to 'YES'. +# +# NO_INSTALL_RUNHASKELL = YES +# NO_INSTALL_HSC2HS = YES +# +# NB. we use negative tests here because for binary-distributions we cannot +# test build-time variables at install-time, so they must default to on. + # ----------------------------------------------------------------------------- # Utilities programs: flags