summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
Diffstat (limited to 'distrib')
-rw-r--r--distrib/configure.ac.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index 4d57cd8545..99b51f536b 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -6,8 +6,6 @@ dnl
AC_INIT([The Glorious Glasgow Haskell Compilation System], [@ProjectVersion@], [glasgow-haskell-bugs@haskell.org], [ghc])
-FP_FIND_ROOT
-
dnl--------------------------------------------------------------------
dnl * Deal with arguments telling us gmp is somewhere odd
dnl--------------------------------------------------------------------
@@ -17,6 +15,9 @@ FP_GMP
bootstrap_target=@TargetPlatform@
FPTOOLS_SET_PLATFORM_VARS
+# Requires FPTOOLS_SET_PLATFORM_VARS to be run first.
+FP_FIND_ROOT
+
# ToDo: if Stage1Only=YES, should be YES
CrossCompiling=NO
CrossCompilePrefix=""