cpython/Modules/Setup.config.in
Eric S. Raymond a888540593 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."
2001-01-17 08:25:11 +00:00

37 lines
1.1 KiB
Text

# This file is transmogrified into Setup.config by config.status.
# The purpose of this file is to conditionally enable certain modules
# based on configure-time options.
# Garbage collection enabled with --with-cycle-gc
@USE_GC_MODULE@gc gcmodule.c
# Threading
@USE_THREAD_MODULE@thread threadmodule.c
# You may want the following to be built as statically loaded modules;
# comment out the *shared* line in that case:
*shared*
# Readline
@USE_READLINE_MODULE@readline readline.c -lreadline -ltermcap
# The ncurses library, under Linux
@USE_NCURSES_MODULE@_curses _cursesmodule.c -lncurses -ltermcap
# 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@