[InterNetNews/inn] 4eb339: Fix library detection (multilib support and Python)

Russ Allbery noreply at github.com
Sun Oct 17 08:59:17 UTC 2021

  Branch: refs/heads/2.6
  Home:   https://github.com/InterNetNews/inn
  Commit: 4eb3396bd08a935c4a3ec60904cf7e9d0ed36b83
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2021-10-17 (Sun, 17 Oct 2021)

  Changed paths:
    M doc/pod/news.pod
    M m4/lib-pathname.m4
    M m4/python.m4

  Log Message:
  Fix library detection (multilib support and Python)

Probe in multilib directories (lib32 or lib64), which fixes the detection
of OpenSSL 3.0.0 library.

Use the sysconfig module when available for Python.  The
distutils.sysconfig module has been deprecated in Python 3.10.

Taken from rra-c-util.

  Commit: c4d6ec5aa132dcca801f88de2908e9e9e9059296
  Author: Russ Allbery <eagle at eyrie.org>
  Date:   2021-10-17 (Sun, 17 Oct 2021)

  Changed paths:
    M m4/python.m4

  Log Message:
  Request posix_prefix paths from Python sysconfig

When using the Python sysconfig module to determine paths,
explicitly request the posix_prefix scheme.  This is the default
in current versions of Python, but in Python 2.7 as packaged in
Debian buster, the default scheme is posix_local.  This breaks
determination of the include path for Python.h, since it instead
returns the include path used for locally-installed modules.

Explicitly requesting the posix_prefix scheme avoids this problem.

Compare: https://github.com/InterNetNews/inn/compare/4d69f671cdbd...c4d6ec5aa132

More information about the inn-committers mailing list