summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAntoine Pitrou <pitrou@free.fr>2018-07-16 17:03:03 (GMT)
committerGitHub <noreply@github.com>2018-07-16 17:03:03 (GMT)
commit961d54c5c1916c09883ebcf7191babc969e5a5cf (patch)
tree26c7252e3864548cd24c1e6df3a82c2de9f858dc /configure
parent35c0809158be7feae4c4f877a08b93baea2d8291 (diff)
downloadcpython-961d54c5c1916c09883ebcf7191babc969e5a5cf.zip
cpython-961d54c5c1916c09883ebcf7191babc969e5a5cf.tar.gz
cpython-961d54c5c1916c09883ebcf7191babc969e5a5cf.tar.bz2
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 1 insertions, 7 deletions
diff --git a/configure b/configure
index a44676d..c5ea5cb 100755
--- a/configure
+++ b/configure
@@ -18339,12 +18339,6 @@ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
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 @@ fi
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