bpo-45548: Fix out-of-tree and Debian builds (GH-29263)

Add Modules subdirs to SRCDIRS to generate directories for out-of-tree
object files.

Debian wants ncurses lib. Works on Fedora, too.

Debian also needs pkg-config to detect correct flags.

Remove more outdated comments. Makefile now tracks header dependencies
-lintl is injected by configure when needed. Build _dbm with
gdbm-compat.

Group some modules by purpose. socket, select, and mmap work on Windows,
too.
This commit is contained in:
Christian Heimes 2021-10-28 12:57:38 +03:00 • committed by GitHub
parent b1302abcc8
commit 4c95fb4640
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 87 additions and 57 deletions

View file

@ -3,6 +3,7 @@ apt-get update
apt-get -yq install \
build-essential \
pkg-config \
ccache \
gdb \
lcov \