summaryrefslogtreecommitdiffstats
path: root/Modules/Setup.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-20 19:50:17 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-20 19:50:17 (GMT)
commit613b943bf9a10c9059699efba4b1d7b91c66da8b (patch)
treeb7a02917e8be1bf458c1102081d355823b9d31d0 /Modules/Setup.in
parent435545423263c44b3a9a59cf5fa27739763ebcc1 (diff)
downloadcpython-613b943bf9a10c9059699efba4b1d7b91c66da8b.zip
cpython-613b943bf9a10c9059699efba4b1d7b91c66da8b.tar.gz
cpython-613b943bf9a10c9059699efba4b1d7b91c66da8b.tar.bz2
*noconfig* -> *shared*.
Add # -lm comment to modules that need it as sharedlib.
Diffstat (limited to 'Modules/Setup.in')
-rw-r--r--Modules/Setup.in17
1 files changed, 11 insertions, 6 deletions
diff --git a/Modules/Setup.in b/Modules/Setup.in
index aad9a30..12bd673 100644
--- a/Modules/Setup.in
+++ b/Modules/Setup.in
@@ -21,6 +21,10 @@
# <module> is anything else but should be a valid Python
# identifier (letters, digits, underscores, beginning with non-digit)
#
+# (As the makesetup script changes, it may recognize some other
+# arguments as well, e.g. *.so and *.sl as libraries. See the big
+# case statement in the makesetup script.)
+#
# Lines can also have the form
#
# <name> = <value>
@@ -29,7 +33,7 @@
#
# Finally, if a line has the literal form
#
-# *noconfig*
+# *shared*
#
# (that is including the '*' and '*' !) then the following modules will
# not be included in the config.c file, nor in the list of objects to be
@@ -38,7 +42,8 @@
# shared libraries will still be added to the Makefile, and their
# names will be collected in the Make variable SHAREDMODS. This is
# used to build modules as shared libraries. (They must be installed
-# using "make sharedinstall".)
+# using "make sharedinstall".) (For compatibility, *noconfig* has the
+# same effect as *shared*.)
# NOTE: As a standard policy, as many modules as can be supported by a
# platform should be present. The distribution comes with all modules
@@ -100,18 +105,18 @@ signal signalmodule.c # signal(2)
# modules are to be built as shared libraries (see above for more
# detail):
-#*noconfig*
+#*shared*
# Modules that should always be present (non UNIX dependent):
array arraymodule.c # array objects
-cmath cmathmodule.c # complex math library functions
-math mathmodule.c # math library functions, e.g. sin()
+cmath cmathmodule.c # -lm # complex math library functions
+math mathmodule.c # -lm # math library functions, e.g. sin()
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies