Fix windows breakage (fallout from 34f7e9a3c998)
authorAustin Seipp <austin@well-typed.com>
Fri, 4 Jul 2014 14:40:25 +0000 (09:40 -0500)
committerAustin Seipp <austin@well-typed.com>
Fri, 4 Jul 2014 14:40:25 +0000 (09:40 -0500)
Signed-off-by: Austin Seipp <austin@well-typed.com>
aclocal.m4
configure.ac

index 1a7872e..d857706 100644 (file)
@@ -455,6 +455,7 @@ AC_DEFUN([FP_SETTINGS],
         mingw_bin_prefix=mingw/bin/
         SettingsCCompilerCommand="\$topdir/../${mingw_bin_prefix}gcc.exe"
         SettingsHaskellCPPCommand="\$topdir/../${mingw_bin_prefix}gcc.exe"
+        SettingsHaskellCPPFlags="$HaskellCPPArgs"
         SettingsLdCommand="\$topdir/../${mingw_bin_prefix}ld.exe"
         SettingsArCommand="\$topdir/../${mingw_bin_prefix}ar.exe"
         SettingsPerlCommand='$topdir/../perl/perl.exe'
index 34cc02e..5fc5733 100644 (file)
@@ -493,10 +493,7 @@ AC_ARG_WITH(hs-cpp,
     fi
 ],
 [
-    if test "$HostOS" != "mingw32"
-    then
         HaskellCPPCmd=$WhatGccIsCalled
-    fi
 ]
 )