From ff5be6e8100276647e0077e80869fc022d1bb53f Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sat, 20 Jan 2018 13:19:21 +0100 Subject: bpo-32598: Use autoconf to detect usable OpenSSL (#5242) 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 --- pyconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index ff1083ae0b..dd7c62bad1 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1237,6 +1237,9 @@ /* Define to 1 if you have the `writev' function. */ #undef HAVE_WRITEV +/* Define if libssl has X509_VERIFY_PARAM_set1_host and related function */ +#undef HAVE_X509_VERIFY_PARAM_SET1_HOST + /* Define if the zlib library has inflateCopy */ #undef HAVE_ZLIB_COPY -- cgit v1.2.1