aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-10 18:53:48 +0000
committerGuido van Rossum <guido@python.org>2001-01-10 18:53:48 +0000
commit3d15bd88063019352d11382f5d1b36b6845f65dc (patch)
treeb7f0e74ce9183915fc99d7fd05cd1e5438a6e97a /Modules/Setup.config.in
parentAdd loop.c -- a test program for repeatedly calling Py_Initialize() (diff)
downloadcpython-3d15bd88063019352d11382f5d1b36b6845f65dc.tar.gz
cpython-3d15bd88063019352d11382f5d1b36b6845f65dc.tar.bz2
cpython-3d15bd88063019352d11382f5d1b36b6845f65dc.zip
Adapted version of Eric Raymond's patches to automatically configure
curses and readline (for Linux, at least). These are done as shared libraries by default, and so is bsddb -- that seems to make the most sense.
Diffstat (limited to 'Modules/Setup.config.in')
-rw-r--r--Modules/Setup.config.in21
1 files changed, 13 insertions, 8 deletions
diff --git a/Modules/Setup.config.in b/Modules/Setup.config.in
index f9c58516e3e..424099fdec8 100644
--- a/Modules/Setup.config.in
+++ b/Modules/Setup.config.in
@@ -1,19 +1,24 @@
# 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. Currently thread support, garbage
-# collection support, and the BSD DB modules are the only modules so
-# enabled.
-
-@USE_THREAD_MODULE@thread threadmodule.c
+# based on configure-time options.
# Garbage collection enabled with --with-cycle-gc
@USE_GC_MODULE@gc gcmodule.c
-# You may want this to be built as a dynamically loaded module; uncomment
-# the following line in that case:
+# 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
-#*shared*
+# The ncurses library, under Linux
+@USE_NCURSES_MODULE@_curses _cursesmodule.c -lncurses -ltermcap
# bsddb module enabled by --with-libdb or presence of db.h
@USE_BSDDB_MODULE@bsddb bsddbmodule.c @HAVE_LIBDB@