Skip to content

Commit a28b228

Browse files
committed
bpo-45847: Update whatsnew and add place holder entries for missing extensions
1 parent 4045392 commit a28b228

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

Doc/whatsnew/3.11.rst

+6-7
Original file line numberDiff line numberDiff line change
@@ -583,13 +583,12 @@ Build Changes
583583
(Contributed by Brett Cannon and Christian Heimes in :issue:`45548`,
584584
:issue:`45570`, :issue:`45571`, and :issue:`43974`.)
585585

586-
* The build dependencies for :mod:`zlib`, :mod:`bz2`, and :mod:`lzma` are now
587-
detected by :program:`configure`.
588-
(Contributed by Christian Heimes in :issue:`45763`.)
589-
590-
* Build dependencies for :mod:`dbm` are now detected by :program:`configure`.
591-
``libdb`` 3.x and 4.x are no longer supported.
592-
(Contributed by Christian Heimes in :issue:`45747`.)
586+
* Build dependencies, compiler flags, and linker flags for most stdlib
587+
extension modules are now detected by :program:`configure`. libffi, libnsl,
588+
libsqlite3, zlib, bzip2, liblzma, libcrypt, and uuid flags are detected by
589+
``pkg-config`` (when available).
590+
(Contributed by Christian Heimes and Erlend Egeberg Aasland in
591+
:issue:`bpo-45847`, :issue:`45747`, and :issue:`45763`.)
593592

594593
* CPython now has experimental support for cross compiling to WebAssembly
595594
platform ``wasm32-emscripten``. The effort is inspired by previous work

Modules/Setup.stdlib.in

+12
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,13 @@
6868

6969
# dbm/gdbm
7070
# dbm needs either libndbm, libgdbm_compat, or libdb 5.x
71+
#@MODULE__DBM_TRUE@_dbm _dbmmodule.c
7172
# gdbm module needs -lgdbm
7273
@MODULE__GDBM_TRUE@_gdbm _gdbmmodule.c
7374

75+
# needs -lreadline or -leditline, sometimes termcap, termlib, or tinfo
76+
#@MODULE_READLINE_TRUE@readline readline.c
77+
7478
# hashing builtins, can be disabled with --without-builtin-hashlib-hashes
7579
@MODULE__MD5_TRUE@_md5 md5module.c
7680
@MODULE__SHA1_TRUE@_sha1 sha1module.c
@@ -134,13 +138,21 @@
134138
# needs -lffi and -ldl
135139
@MODULE__CTYPES_TRUE@_ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c
136140

141+
# needs -lncurses, -lncursesw or -lcurses, sometimes -ltermcap
142+
#@MODULE__CURSES_TRUE@_curses _cursesmodule.c
143+
# needs -lncurses and -lpanel
144+
#@MODULE__CURSES_PANEL_TRUE@_curses_panel _curses_panel.c
145+
137146
@MODULE__SQLITE3_TRUE@_sqlite3 _sqlite/connection.c _sqlite/cursor.c _sqlite/microprotocols.c _sqlite/module.c _sqlite/prepare_protocol.c _sqlite/row.c _sqlite/statement.c _sqlite/util.c
138147

139148
# needs -lssl and -lcrypt
140149
@MODULE__SSL_TRUE@_ssl _ssl.c
141150
# needs -lcrypt
142151
@MODULE__HASHLIB_TRUE@_hashlib _hashopenssl.c
143152

153+
# needs -ltk, -ltcl, and sometimes -lX11
154+
#@MODULE__TKINTER_TRUE@_tkinter _tkinter.c tkappinit.c
155+
144156
# Linux: -luuid, BSD/AIX: libc's uuid_create()
145157
@MODULE__UUID_TRUE@_uuid _uuidmodule.c
146158

configure.ac

+5
Original file line numberDiff line numberDiff line change
@@ -6480,17 +6480,22 @@ PY_STDLIB_MOD([_crypt],
64806480
PY_STDLIB_MOD([_ctypes],
64816481
[], [test "$have_libffi" = yes],
64826482
[$LIBFFI_CFLAGS], [$LIBFFI_LIBS])
6483+
dnl PY_STDLIB_MOD([_curses], [], [], [], [])
6484+
dnl PY_STDLIB_MOD([_curses_panel], [], [], [], [])
64836485
PY_STDLIB_MOD([_decimal], [], [], [$LIBMPDEC_CFLAGS], [$LIBMPDEC_LDFLAGS])
6486+
dnl PY_STDLIB_MOD([_dbm], [], [], [], [])
64846487
PY_STDLIB_MOD([_gdbm],
64856488
[test "$have_gdbm_dbmliborder" = yes], [test "$have_gdbm" = yes],
64866489
[$GDBM_CFLAGS], [$GDBM_LIBS])
64876490
PY_STDLIB_MOD([nis],
64886491
[], [test "$have_nis" = yes -a "$ac_cv_header_rpc_rpc_h" = yes],
64896492
[$LIBNSL_CFLAGS], [$LIBNSL_LIBS])
6493+
dnl PY_STDLIB_MOD([readline], [], [], [], [])
64906494
PY_STDLIB_MOD([_sqlite3],
64916495
[test "$have_sqlite3" = "yes"],
64926496
[test "$have_supported_sqlite3" = "yes"],
64936497
[$LIBSQLITE3_CFLAGS], [$LIBSQLITE3_LIBS])
6498+
dnl PY_STDLIB_MOD([_tkinter], [], [], [], [])
64946499
PY_STDLIB_MOD([_uuid],
64956500
[], [test "$have_uuid" = "yes"],
64966501
[$LIBUUID_CFLAGS], [$LIBUUID_LIBS])

0 commit comments

Comments
 (0)