mirror of https://github.com/python/cpython
Rename Setup.in to Setup.dist, and assume that configure will create
Setup (instead of creating it from the Makefile).
This commit is contained in:
parent
eff9a87fcc
commit
cf3bc8c5a5
|
@ -29,8 +29,7 @@ To build,
|
|||
|
||||
1) ./configure --prefix=/boot/home/config
|
||||
|
||||
2) cp Modules/Setup.in Modules/Setup
|
||||
edit Modules/Setup
|
||||
2) edit Modules/Setup
|
||||
comment out grp and mmap, and pwd on 4.5 or earlier
|
||||
uncomment any modules you want to include in python
|
||||
(you can also add them later as shared libraries.)
|
||||
|
|
|
@ -88,7 +88,7 @@ AIX shared library support was added to Python in the 1.4 release by Manus
|
|||
Hand (mhand@csn.net) and Vladimir Marangozov (Vladimir.Marangozov@imag.fr).
|
||||
|
||||
Python modules may now be built as shared libraries on AIX using the normal
|
||||
process of uncommenting the "*shared*" line in Modules/Setup.in before the
|
||||
process of uncommenting the "*shared*" line in Modules/Setup before the
|
||||
build.
|
||||
|
||||
AIX shared libraries require that an "export" and "import" file be provided
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# only withs with Python 1.5, alpha 3 or newer.)
|
||||
|
||||
# Create a file Setup.in for your extension. This file follows the
|
||||
# format of the Modules/Setup.in file; see the instructions there.
|
||||
# format of the Modules/Setup.dist file; see the instructions there.
|
||||
# For a simple module called "spam" on file "spammodule.c", it can
|
||||
# contain a single line:
|
||||
# spam spammodule.c
|
||||
|
|
|
@ -160,16 +160,12 @@ hassignal:
|
|||
fi; \
|
||||
done
|
||||
|
||||
Setup: $(srcdir)/Setup.in
|
||||
@if [ -f Setup ] ; then \
|
||||
echo; \
|
||||
echo "----------------------------------------------"; \
|
||||
echo "Modules/Setup.in is newer than Modules/Setup;"; \
|
||||
echo "check to make sure you have all the updates"; \
|
||||
echo "you need in your Setup file."; \
|
||||
echo "----------------------------------------------"; \
|
||||
echo; \
|
||||
else (set -x; cp $(srcdir)/Setup.in Setup); fi
|
||||
Setup: $(srcdir)/Setup.dist
|
||||
echo "-----------------------------------------------"; \
|
||||
echo "Modules/Setup.dist is newer than Modules/Setup;"; \
|
||||
echo "check to make sure you have all the updates you"; \
|
||||
echo "need in your Modules/Setup file."; \
|
||||
echo "-----------------------------------------------";
|
||||
|
||||
|
||||
Setup.local:
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
# The file Setup is used by the makesetup script to construct the files
|
||||
# Makefile and config.c, from Makefile.pre and config.c.in,
|
||||
# respectively. The file Setup itself is initially copied from
|
||||
# Setup.in; once it exists it will not be overwritten, so you can edit
|
||||
# Setup.dist; once it exists it will not be overwritten, so you can edit
|
||||
# Setup to your heart's content. Note that Makefile.pre is created
|
||||
# from Makefile.pre.in by the toplevel configure script.
|
||||
|
||||
# (VPATH notes: Setup and Makefile.pre are in the build directory, as
|
||||
# are Makefile and config.c; the *.in files are in the source
|
||||
# are Makefile and config.c; the *.in and *.dist files are in the source
|
||||
# directory.)
|
||||
|
||||
# Each line in this file describes one or more optional modules.
|
|
@ -16,7 +16,7 @@
|
|||
# Setup files after a -n option are used for their variables, modules
|
||||
# and libraries but not for their .o files.
|
||||
#
|
||||
# See Setup.in for a description of the format of the Setup file.
|
||||
# See Setup.dist for a description of the format of the Setup file.
|
||||
#
|
||||
# The following edits are made:
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue