From d0864f52edcea75484b9adcd2ca9df316266f492 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 5 Dec 2007 10:18:14 +0000 Subject: [PATCH] move FP_FIND_ROOT after the "GHC is required" check --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 66ed8a0..b20a11f 100644 --- a/configure.ac +++ b/configure.ac @@ -637,8 +637,6 @@ AC_ARG_WITH([ghc], WithGhc="$GHC"]) AC_SUBST([WithGhc]) -FP_FIND_ROOT - AC_ARG_WITH(hc, [AC_HELP_STRING([--with-hc=ARG], [Use ARG as the path to the compiler for compiling ordinary @@ -758,6 +756,9 @@ if test "$BootingFromHc" = "NO" -a "$WithGhc" = "" -a -d "$srcdir/compiler"; the AC_MSG_ERROR([GHC is required unless bootstrapping from .hc files.]) fi; +# This uses GHC, so put it after the "GHC is required" check above: +FP_FIND_ROOT + dnl ** Enable the construction of Win32 DLLs? dnl -------------------------------------------------------------- dnl -- 1.7.10.4