summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-09-25 21:54:05 +0000
committerGuido van Rossum <guido@python.org>1992-09-25 21:54:05 +0000
commit3a40ae4ef3b3dd7f2967a63acceabb0d0ae251d7 (patch)
tree2249f1731cf8218079b313ef4059585156af2478
parent7c4eb40a1a3268767ed5fe62d32d2a1a234dd394 (diff)
downloadcpython-git-3a40ae4ef3b3dd7f2967a63acceabb0d0ae251d7.tar.gz
New shell script Addmodule.sh makes it easier to add a new optional
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.
-rw-r--r--Modules/config.c.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 6254a65b89..7edffbe9dc 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -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 */
};