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.
This commit is contained in:
Guido van Rossum 1992-09-25 21:54:05 +00:00
parent 7c4eb40a1a
commit 3a40ae4ef3
1 changed files with 3 additions and 0 deletions

View 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 */
};