Make sure the Modules/ directory is created before writing Modules/Setup.

This commit is contained in:
Fred Drake 2000-11-02 17:52:56 +00:00
parent e7d3616409
commit 884d3ba9dd
1 changed files with 3 additions and 0 deletions

View 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