diff --git a/BeOS/README b/BeOS/README index ab71bd9bb41..90013ee2088 100644 --- a/BeOS/README +++ b/BeOS/README @@ -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.) diff --git a/Misc/AIX-NOTES b/Misc/AIX-NOTES index 6050dd48f26..c532facbc6d 100644 --- a/Misc/AIX-NOTES +++ b/Misc/AIX-NOTES @@ -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 diff --git a/Misc/Makefile.pre.in b/Misc/Makefile.pre.in index ca68576a84d..1cc91a17643 100644 --- a/Misc/Makefile.pre.in +++ b/Misc/Makefile.pre.in @@ -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 diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index 670868603db..fa94956c31e 100644 --- a/Modules/Makefile.pre.in +++ b/Modules/Makefile.pre.in @@ -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: diff --git a/Modules/Setup.in b/Modules/Setup.dist similarity index 99% rename from Modules/Setup.in rename to Modules/Setup.dist index ca83fabc37a..d4be06b2dba 100644 --- a/Modules/Setup.in +++ b/Modules/Setup.dist @@ -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. diff --git a/Modules/makesetup b/Modules/makesetup index 0a2794e0718..09ab50cf46c 100755 --- a/Modules/makesetup +++ b/Modules/makesetup @@ -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: #