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
|
1) ./configure --prefix=/boot/home/config
|
||||||
|
|
||||||
2) cp Modules/Setup.in Modules/Setup
|
2) edit Modules/Setup
|
||||||
edit Modules/Setup
|
|
||||||
comment out grp and mmap, and pwd on 4.5 or earlier
|
comment out grp and mmap, and pwd on 4.5 or earlier
|
||||||
uncomment any modules you want to include in python
|
uncomment any modules you want to include in python
|
||||||
(you can also add them later as shared libraries.)
|
(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).
|
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
|
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.
|
build.
|
||||||
|
|
||||||
AIX shared libraries require that an "export" and "import" file be provided
|
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.)
|
# only withs with Python 1.5, alpha 3 or newer.)
|
||||||
|
|
||||||
# Create a file Setup.in for your extension. This file follows the
|
# 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
|
# For a simple module called "spam" on file "spammodule.c", it can
|
||||||
# contain a single line:
|
# contain a single line:
|
||||||
# spam spammodule.c
|
# spam spammodule.c
|
||||||
|
|
|
@ -160,16 +160,12 @@ hassignal:
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
Setup: $(srcdir)/Setup.in
|
Setup: $(srcdir)/Setup.dist
|
||||||
@if [ -f Setup ] ; then \
|
echo "-----------------------------------------------"; \
|
||||||
echo; \
|
echo "Modules/Setup.dist is newer than Modules/Setup;"; \
|
||||||
echo "----------------------------------------------"; \
|
echo "check to make sure you have all the updates you"; \
|
||||||
echo "Modules/Setup.in is newer than Modules/Setup;"; \
|
echo "need in your Modules/Setup file."; \
|
||||||
echo "check to make sure you have all the updates"; \
|
echo "-----------------------------------------------";
|
||||||
echo "you need in your Setup file."; \
|
|
||||||
echo "----------------------------------------------"; \
|
|
||||||
echo; \
|
|
||||||
else (set -x; cp $(srcdir)/Setup.in Setup); fi
|
|
||||||
|
|
||||||
|
|
||||||
Setup.local:
|
Setup.local:
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
# The file Setup is used by the makesetup script to construct the files
|
# The file Setup is used by the makesetup script to construct the files
|
||||||
# Makefile and config.c, from Makefile.pre and config.c.in,
|
# Makefile and config.c, from Makefile.pre and config.c.in,
|
||||||
# respectively. The file Setup itself is initially copied from
|
# 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
|
# Setup to your heart's content. Note that Makefile.pre is created
|
||||||
# from Makefile.pre.in by the toplevel configure script.
|
# from Makefile.pre.in by the toplevel configure script.
|
||||||
|
|
||||||
# (VPATH notes: Setup and Makefile.pre are in the build directory, as
|
# (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.)
|
# directory.)
|
||||||
|
|
||||||
# Each line in this file describes one or more optional modules.
|
# 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
|
# Setup files after a -n option are used for their variables, modules
|
||||||
# and libraries but not for their .o files.
|
# 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:
|
# The following edits are made:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue