From: Guido van Rossum Date: Fri, 25 Sep 1992 21:54:05 +0000 (+0000) Subject: New shell script Addmodule.sh makes it easier to add a new optional X-Git-Tag: v0.9.8~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a40ae4ef3b3dd7f2967a63acceabb0d0ae251d7;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Modules/config.c.in b/Modules/config.c.in index 6254a65b89f4..7edffbe9dcb9 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 */ };