Commit d0864f52 authored by Simon Marlow's avatar Simon Marlow
Browse files

move FP_FIND_ROOT after the "GHC is required" check

parent 5109078b
...@@ -637,8 +637,6 @@ AC_ARG_WITH([ghc], ...@@ -637,8 +637,6 @@ AC_ARG_WITH([ghc],
WithGhc="$GHC"]) WithGhc="$GHC"])
AC_SUBST([WithGhc]) AC_SUBST([WithGhc])
FP_FIND_ROOT
AC_ARG_WITH(hc, AC_ARG_WITH(hc,
[AC_HELP_STRING([--with-hc=ARG], [AC_HELP_STRING([--with-hc=ARG],
[Use ARG as the path to the compiler for compiling ordinary [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 ...@@ -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.]) AC_MSG_ERROR([GHC is required unless bootstrapping from .hc files.])
fi; 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 ** Enable the construction of Win32 DLLs?
dnl -------------------------------------------------------------- dnl --------------------------------------------------------------
dnl dnl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment