]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
New shell script Addmodule.sh makes it easier to add a new optional
authorGuido van Rossum <guido@python.org>
Fri, 25 Sep 1992 21:54:05 +0000 (21:54 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 25 Sep 1992 21:54:05 +0000 (21:54 +0000)
module by editing Makefile and config.c in all the right places.
Used it to add most modules currently known.  Added markers to help
the script to Makefile and config.c.

Modules/config.c.in

index 6254a65b89f4b74f905067e342f83c407bbfd552..7edffbe9dcb98b358a09e4edac88d472e67aaf7d 100644 (file)
@@ -220,6 +220,7 @@ extern void initcl();
 #ifdef USE_TIME
 extern void inittime();
 #endif
+/* -- ADDMODULE MARKER 1 -- */
 
 struct {
        char *name;
@@ -350,5 +351,7 @@ struct {
        {"time",        inittime},
 #endif
 
+/* -- ADDMODULE MARKER 2 -- */
+
        {0,             0}              /* Sentinel */
 };