bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)
bpo-32430: Rename Modules/Setup.dist to Modules/Setup
Remove the necessity to copy the former manually to the latter when updating the local source tree.
diff --git a/configure b/configure
index a44676d..c5ea5cb 100755
--- a/configure
+++ b/configure
@@ -18339,12 +18339,6 @@
fi
-echo "creating Modules/Setup" >&6
-if test ! -f Modules/Setup
-then
- cp $srcdir/Modules/Setup.dist Modules/Setup
-fi
-
echo "creating Modules/Setup.local" >&6
if test ! -f Modules/Setup.local
then
@@ -18354,7 +18348,7 @@
echo "creating Makefile" >&6
$SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
-s Modules \
- Modules/Setup.local Modules/Setup
+ Modules/Setup.local $srcdir/Modules/Setup
mv config.c Modules
if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then