aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-01-17 08:25:11 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-01-17 08:25:11 +0000
commita88854059309667092000da55d4d5a5804267e9f (patch)
tree90884007bfdb5147f969b5e52340c6bc573fb3c3 /Modules/Setup.config.in
parentAdd a missing newline in an example; caught by Chris Ryland (diff)
downloadcpython-a88854059309667092000da55d4d5a5804267e9f.tar.gz
cpython-a88854059309667092000da55d4d5a5804267e9f.tar.bz2
cpython-a88854059309667092000da55d4d5a5804267e9f.zip
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.config.in')
-rw-r--r--Modules/Setup.config.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/Modules/Setup.config.in b/Modules/Setup.config.in
index 6f62b77747a..2932d3c7656 100644
--- a/Modules/Setup.config.in
+++ b/Modules/Setup.config.in
@@ -20,8 +20,18 @@
# The ncurses library, under Linux
@USE_NCURSES_MODULE@_curses _cursesmodule.c -lncurses -ltermcap
-# bsddb module enabled by --with-libdb or presence of db.h
+# bsddb(3) module enabled by --with-libdb or presence of db.h
@USE_BSDDB_MODULE@bsddb bsddbmodule.c @HAVE_LIBDB@
# dbm(3) may require -lndbm or similar
@USE_DBM_MODULE@dbm dbmmodule.c @HAVE_LIBNDBM@
+
+# ndbm(3) may require -lndbm or similar
+@USE_NDBM_MODULE@ndbm ndbmmodule.c @HAVE_LIBNDBM@
+
+# gdbm(3) may require -lgdbm or similar
+@USE_GDBM_MODULE@gdbm gdbmmodule.c @HAVE_LIBGDBM@
+
+# crypt(3) may require -lcrypt or similar
+@USE_CRYPT_MODULE@crypt cryptmodule.c @HAVE_LIBCRYPT@
+