Test for and create Modules/Setup in the configure script if it does not
already exist.
This commit is contained in:
parent
cf3bc8c5a5
commit
036144d26d
|
@ -1294,6 +1294,14 @@ cat >> confdefs.h <<\EOF
|
|||
EOF
|
||||
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
|
||||
AC_OUTPUT(Makefile \
|
||||
Objects/Makefile \
|
||||
|
|
Loading…
Reference in New Issue