Fix platform detection in bindists
[ghc-hetmet.git] / distrib / configure.ac.in
index e17bcf5..d5aa2be 100644 (file)
@@ -18,6 +18,9 @@ dnl--------------------------------------------------------------------
 
 FP_GMP
 
+bootstrap_target=`ghc/stage2/build/tmp/ghc-stage2 +RTS --info | grep '^ ,("Target platform"' | sed -e 's/.*, "//' -e 's/")//' | tr -d '\r'`
+FPTOOLS_SET_PLATFORM_VARS
+
 #
 dnl ** Check Perl installation **
 #