mirror of
https://github.com/python/cpython.git
synced 2025-09-29 03:35:31 +00:00
Make sure the Modules/ directory is created before writing Modules/Setup.
This commit is contained in:
parent
e7d3616409
commit
884d3ba9dd
1 changed files with 3 additions and 0 deletions
|
@ -1300,6 +1300,9 @@ AC_CHECK_TYPE(socklen_t, int)
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Modules/Setup)
|
AC_MSG_CHECKING(for Modules/Setup)
|
||||||
if test ! -f Modules/Setup ; then
|
if test ! -f Modules/Setup ; then
|
||||||
|
if test ! -d Modules ; then
|
||||||
|
mkdir Modules
|
||||||
|
fi
|
||||||
cp "$srcdir/Modules/Setup.dist" Modules/Setup
|
cp "$srcdir/Modules/Setup.dist" Modules/Setup
|
||||||
AC_MSG_RESULT(creating)
|
AC_MSG_RESULT(creating)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue