File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.)
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ AIX shared library support was added to Python in the 1.4 release by Manus
8888Hand (
[email protected] ) and Vladimir Marangozov (
[email protected] ).
8989
9090Python 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
9292build.
9393
9494AIX shared libraries require that an "export" and "import" file be provided
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
175171Setup.local:
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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#
You can’t perform that action at this time.
0 commit comments