Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf3bc8c

Browse files
committed
Rename Setup.in to Setup.dist, and assume that configure will create
Setup (instead of creating it from the Makefile).
1 parent eff9a87 commit cf3bc8c

6 files changed

Lines changed: 12 additions & 17 deletions

File tree

BeOS/README

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ To build,
2929

3030
1) ./configure --prefix=/boot/home/config
3131

32-
2) cp Modules/Setup.in Modules/Setup
33-
edit Modules/Setup
32+
2) edit Modules/Setup
3433
comment out grp and mmap, and pwd on 4.5 or earlier
3534
uncomment any modules you want to include in python
3635
(you can also add them later as shared libraries.)

Misc/AIX-NOTES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ AIX shared library support was added to Python in the 1.4 release by Manus
8888
Hand ([email protected]) and Vladimir Marangozov ([email protected]).
8989

9090
Python modules may now be built as shared libraries on AIX using the normal
91-
process of uncommenting the "*shared*" line in Modules/Setup.in before the
91+
process of uncommenting the "*shared*" line in Modules/Setup before the
9292
build.
9393

9494
AIX shared libraries require that an "export" and "import" file be provided

Misc/Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# only withs with Python 1.5, alpha 3 or newer.)
1818

1919
# Create a file Setup.in for your extension. This file follows the
20-
# format of the Modules/Setup.in file; see the instructions there.
20+
# format of the Modules/Setup.dist file; see the instructions there.
2121
# For a simple module called "spam" on file "spammodule.c", it can
2222
# contain a single line:
2323
# spam spammodule.c

Modules/Makefile.pre.in

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,12 @@ hassignal:
160160
fi; \
161161
done
162162

163-
Setup: $(srcdir)/Setup.in
164-
@if [ -f Setup ] ; then \
165-
echo; \
166-
echo "----------------------------------------------"; \
167-
echo "Modules/Setup.in is newer than Modules/Setup;"; \
168-
echo "check to make sure you have all the updates"; \
169-
echo "you need in your Setup file."; \
170-
echo "----------------------------------------------"; \
171-
echo; \
172-
else (set -x; cp $(srcdir)/Setup.in Setup); fi
163+
Setup: $(srcdir)/Setup.dist
164+
echo "-----------------------------------------------"; \
165+
echo "Modules/Setup.dist is newer than Modules/Setup;"; \
166+
echo "check to make sure you have all the updates you"; \
167+
echo "need in your Modules/Setup file."; \
168+
echo "-----------------------------------------------";
173169

174170

175171
Setup.local:

Modules/Setup.in renamed to Modules/Setup.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
# The file Setup is used by the makesetup script to construct the files
33
# Makefile and config.c, from Makefile.pre and config.c.in,
44
# respectively. The file Setup itself is initially copied from
5-
# Setup.in; once it exists it will not be overwritten, so you can edit
5+
# Setup.dist; once it exists it will not be overwritten, so you can edit
66
# Setup to your heart's content. Note that Makefile.pre is created
77
# from Makefile.pre.in by the toplevel configure script.
88

99
# (VPATH notes: Setup and Makefile.pre are in the build directory, as
10-
# are Makefile and config.c; the *.in files are in the source
10+
# are Makefile and config.c; the *.in and *.dist files are in the source
1111
# directory.)
1212

1313
# Each line in this file describes one or more optional modules.

Modules/makesetup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Setup files after a -n option are used for their variables, modules
1717
# and libraries but not for their .o files.
1818
#
19-
# See Setup.in for a description of the format of the Setup file.
19+
# See Setup.dist for a description of the format of the Setup file.
2020
#
2121
# The following edits are made:
2222
#

0 commit comments

Comments
 (0)