summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-09-24 19:18:58 +0000
committerIan Lynagh <igloo@earth.li>2010-09-24 19:18:58 +0000
commit2e61af71523d43317e8aff530f27457d94e3f40c (patch)
treee8bce23dfa834b69948428c5a80d8bed25803c1e /configure.ac
parentedeee10702955ca3c53444f2f328b4cce0ab3e32 (diff)
downloadhaskell-2e61af71523d43317e8aff530f27457d94e3f40c.tar.gz
Check inplace doesn't exist before we try to create it
This fixes rerunning configure in a tree which already has an inplace directory. Edward Z Yang ran into this; I guess whether it actually fails depends on details of your installation, or we'd have run into it sooner.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index db268ab983..600317dd04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -438,7 +438,7 @@ then
then
AC_MSG_NOTICE([Making in-tree mingw tree])
rm -rf inplace/mingw
- mkdir inplace
+ test -d inplace || mkdir inplace
mkdir inplace/mingw
(
cd inplace/mingw &&