summaryrefslogtreecommitdiffstats
path: root/Modules/Setup.dist
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-01-17 08:25:11 (GMT)
committerEric S. Raymond <esr@thyrsus.com>2001-01-17 08:25:11 (GMT)
commita88854059309667092000da55d4d5a5804267e9f (patch)
tree90884007bfdb5147f969b5e52340c6bc573fb3c3 /Modules/Setup.dist
parent90badd1286eadad22761105d7211f1e02a1f6845 (diff)
downloadcpython-a88854059309667092000da55d4d5a5804267e9f.zip
cpython-a88854059309667092000da55d4d5a5804267e9f.tar.gz
cpython-a88854059309667092000da55d4d5a5804267e9f.tar.bz2
Eric the half-a-wit, driven to berserk rage after repeatedly doing
builds during which he forgot to uncomment crucial library lines in Setup, walks into Guido's East End nightclub with a tactical nuclear weapon on his shoulder. Said nuclear weapon is promptly deployed exactly where it will do the most good, right in the middle of configure.in. With this patch, the set of libraries autoconfigured in is extended to include ndbm, gdbm, and crypt. This essentially eliminates any need to tweak Setup for a normal Linux build. "'E was a fair man. Cruel, but fair."
Diffstat (limited to 'Modules/Setup.dist')
-rw-r--r--Modules/Setup.dist7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
index 31defe8..3ada281 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -172,6 +172,9 @@ _socket socketmodule.c
# The crypt module is now disabled by default because it breaks builds
# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+#
+# First, look at Setup.config; configure may have set this for you.
+
#crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
@@ -359,10 +362,14 @@ new newmodule.c
# it will be compiled as a shared library by default. Compiling it as
# a built-in module causes conflicts with the pybsddb3 module since it
# creates a static dependency on an out-of-date version of db.so.
+#
+# First, look at Setup.config; configure may have set this for you.
#dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
+#
+# First, look at Setup.config; configure may have set this for you.
#gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm