◐ Shell
clean mode source ↗

bpo-32598: Use autoconf to detect usable OpenSSL by tiran · Pull Request #5242 · python/cpython

@tiran tiran changed the title Use autoconf to detect usable OpenSSL bpo-32598: Use autoconf to detect usable OpenSSL

Jan 19, 2018
Add https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html
to auto-detect compiler flags, linker flags and libraries to compile
OpenSSL extensions. The M4 macro uses pkg-config and falls back to
manual detection.

Add autoconf magic to detect usable X509_VERIFY_PARAM_set1_host()
and related functions.

Refactor setup.py to use new config vars to compile _ssl and _hashlib
modules.

Signed-off-by: Christian Heimes <christian@python.org>

@tiran tiran mentioned this pull request

Jan 20, 2018

asvetlov

@tiran tiran deleted the openssl_autoconf branch

January 20, 2018 12:19

yan12125 pushed a commit to yan12125/python3-android that referenced this pull request

Jun 16, 2018
And add pkg-config settings to fix the _ssl module on CPython.

As a side note, since python/cpython#5242,
pkg-config should be correctly set up to find non-common OpenSSL paths.

erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request

Mar 14, 2022
- macosx_sdk_specified (removed in this PR)
- find_library_functions (removed in python#5242)