ajf writes:
>
> Hi! We've just downloaded the 2.10 binaries and had a problem with the
> Makefile. It starts with:
>
> PACKAGE_SH_SCRIPTS =
> PACKAGE_PRL_SCRIPTS = ghc stat2resid hstags mkdependHS
> PACKAGE_LIB_PRL_SCRIPTS = hscpp
> PACKAGE_BINS =
>
> When we make in-place the test inside config-pkgs, i.e.
>
> @if test "$(PACKAGE_SH_SCRIPTS)"; then \ etc.
>
> falls over.
>
> Why is PACKAGE_SH_SCRIPTS undefined in both Makefile.in and left undefined
> by configure?
>
A bug in Makefile.in I'm afraid, either delete the offending section
(as you did), or apply the patch
ftp://ftp.dcs.gla.ac.uk/pub/haskell/glasgow/patch-Makefile.in
(I've added a pointer to this patch on the download page.)
HTH,
--Sigbjorn