[project @ 2000-03-14 01:31:38 by sof]
[ghc-hetmet.git] / ghc / rts / Makefile
index 59d516a..276120a 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.17 2000/01/13 14:34:03 hwloidl Exp $
+# $Id: Makefile,v 1.19 2000/03/14 01:31:38 sof Exp $
 #
 #  This is the Makefile for the runtime-system stuff.
 #  This stuff is written in C (and cannot be written in Haskell).
@@ -126,7 +126,9 @@ endif
 
 ifneq "$(HaveLibGmp)" "YES"
 boot ::
-       cd gmp && ./configure
+       if [ ! -f gmp/configure ] ; then ( cd gmp && autoconf ); fi;
+       cd gmp && ./configure --target=$(HOSTPLATFORM)
+# Slight cheatage here to past host as target, but x-compilation isn't supported by ghc.
 
 all :: gmp/libgmp.a