]> granicus.if.org Git - python/commitdiff
Make sure the Modules/ directory is created before writing Modules/Setup.
authorFred Drake <fdrake@acm.org>
Thu, 2 Nov 2000 17:52:56 +0000 (17:52 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 2 Nov 2000 17:52:56 +0000 (17:52 +0000)
configure.in

index 43462fb8a53de41a8047ec541bb93f6e991def53..15e9a3a115989aa9f88b3111139d58df20b6d1a9 100644 (file)
@@ -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