summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-11-02 17:52:56 (GMT)
committerFred Drake <fdrake@acm.org>2000-11-02 17:52:56 (GMT)
commit884d3ba9dd8f5e91cdbba267d57622723f358658 (patch)
tree47a351f711d2afbad27a9cf44569dca74384fd85
parente7d3616409a6d603966a4af7314b0c11a2d7c93e (diff)
downloadcpython-884d3ba9dd8f5e91cdbba267d57622723f358658.zip
cpython-884d3ba9dd8f5e91cdbba267d57622723f358658.tar.gz
cpython-884d3ba9dd8f5e91cdbba267d57622723f358658.tar.bz2
Make sure the Modules/ directory is created before writing Modules/Setup.
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 43462fb..15e9a3a 100644
--- a/configure.in
+++ b/configure.in
@@ -1300,6 +1300,9 @@ AC_CHECK_TYPE(socklen_t, int)
AC_MSG_CHECKING(for Modules/Setup)
if test ! -f Modules/Setup ; then
+ if test ! -d Modules ; then
+ mkdir Modules
+ fi
cp "$srcdir/Modules/Setup.dist" Modules/Setup
AC_MSG_RESULT(creating)
else