summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-12-05 21:20:48 +0000
committerIan Lynagh <igloo@earth.li>2010-12-05 21:20:48 +0000
commite717ed309dee831f539541e9bf0eb8cb884098a5 (patch)
tree128efe0b2ded354aed984ef1600cacedc51558c1 /configure.ac
parent3d290c13b56c9b30cf3ef66bd5744415f4dac086 (diff)
downloadhaskell-e717ed309dee831f539541e9bf0eb8cb884098a5.tar.gz
Tweak the cleaning of inplace/; fixes trac #4320
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b943d4d934..28a5875832 100644
--- a/configure.ac
+++ b/configure.ac
@@ -387,6 +387,8 @@ FP_FIND_ROOT
if test "$HostOS" = "mingw32"
then
+ test -d inplace || mkdir inplace
+
CC="$hardtop/inplace/mingw/bin/gcc.exe"
LD="$hardtop/inplace/mingw/bin/ld.exe"
NM="$hardtop/inplace/mingw/bin/nm.exe"
@@ -404,7 +406,6 @@ then
then
AC_MSG_NOTICE([Making in-tree mingw tree])
rm -rf inplace/mingw
- test -d inplace || mkdir inplace
mkdir inplace/mingw
(
cd inplace/mingw &&