Test for and create Modules/Setup in the configure script if it does not

already exist.
This commit is contained in:
Fred Drake 2000-10-26 17:09:35 +00:00
parent cf3bc8c5a5
commit 036144d26d
2 changed files with 448 additions and 405 deletions

845
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1294,6 +1294,14 @@ cat >> confdefs.h <<\EOF
EOF EOF
AC_CHECK_TYPE(socklen_t, int) AC_CHECK_TYPE(socklen_t, int)
AC_MSG_CHECKING(for Modules/Setup)
if test ! -f Modules/Setup ; then
cp "$srcdir/Modules/Setup.dist" Modules/Setup
AC_MSG_RESULT(creating)
else
AC_MSG_RESULT(already exists)
fi
# generate output files # generate output files
AC_OUTPUT(Makefile \ AC_OUTPUT(Makefile \
Objects/Makefile \ Objects/Makefile \