summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-12-05 10:18:14 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-12-05 10:18:14 +0000
commitd0864f52edcea75484b9adcd2ca9df316266f492 (patch)
tree8fab901cc110ec292850211b218de1951e2798dd /configure.ac
parent5109078b26bdbf226acdf1b0fe7c2861a7114571 (diff)
downloadhaskell-d0864f52edcea75484b9adcd2ca9df316266f492.tar.gz
move FP_FIND_ROOT after the "GHC is required" check
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 66ed8a0b86..b20a11ffff 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