summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* Start of 3.8.0a0Ned Deily2018-01-311-10/+10
|
* bpo-32726: macOS installer and framework enhancements and changes for 3.7.0 ↵Ned Deily2018-01-301-3/+12
| | | | | | | | | | | | | | (GH-5448) This issue covers various changes for the macOS installers provided via python.org for 3.7.0. - Provide a provisional new installer variant for macOS 10.9 and later systems with 64-bit (x86_64) architecture only. Apple has made it known that future versions of macOS will only fully support 64-bit executables and some other third-party software suppliers have chosen 10.9 as their oldest supported system. - Support **Tcl/Tk 8.6** with the 10.9 installer variant. - Upgrade **OpenSSL** to 1.1.0g and **SQLite** to 3.22.0. - The compiler name used for the interpreter build and for modules built with **Distutils / pip** is now _gcc_ rather than _gcc-4.2_. And extension module builds will no longer try to force use of an old SDK if present.
* bpo-31429: Define TLS cipher suite on build time (#3532)Christian Heimes2018-01-291-0/+48
| | | | | | | | | | | | | Until now Python used a hard coded white list of default TLS cipher suites. The old approach has multiple downsides. OpenSSL's default selection was completely overruled. Python did neither benefit from new cipher suites (ChaCha20, TLS 1.3 suites) nor blacklisted cipher suites. For example we used to re-enable 3DES. Python now defaults to OpenSSL DEFAULT cipher suite selection and black lists all unwanted ciphers. Downstream vendors can override the default cipher list with --with-ssl-default-suites. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-20104: Expose `posix_spawn` in the os module (GH-5109)Pablo Galindo2018-01-291-1/+1
| | | | | Add os.posix_spawn to wrap the low level POSIX API of the same name. Contributed by Pablo Galindo.
* bpo-31368: Expose preadv and pwritev in the os module (#5239)Pablo Galindo2018-01-271-2/+2
|
* bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. ↵stratakis2018-01-231-1/+1
| | | | | | | (#5284) glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system.
* bpo-32593: Run autoconf (#5282)Victor Stinner2018-01-231-4/+0
| | | | Update configure since configure.ac was modified to drop support for FreeBSD 4.
* bpo-32598: Use autoconf to detect usable OpenSSL (#5242)Christian Heimes2018-01-201-13/+267
| | | | | | | | | | | | | | 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>
* bpo-32493: Not only AIX, but FreeBSD has uuid_create support (#5089)David Carlier2018-01-091-2/+3
| | | Allow building the _uuid extension module on FreeBSD and OpenBSD.
* bpo-29137: Remove fpectl module (#4789)Nathaniel J. Smith2018-01-061-25/+0
| | | | | This module has never been enabled by default, never worked correctly on x86-64, and caused ABI problems that caused C extension compatibility. See bpo-29137 for details/discussion.
* bpo-32399: Starting with AIX6.1 there is support in libc.a for uuid ↵Michael Felt2017-12-301-0/+46
| | | | | | | | | | | | (RFC4122) (#4974) Starting with AIX6.1 there is support in libc.a for uuid (RFC4122) This patch provides the changes needed for this integration with the OS. On AIX the base function is uuid_create() rather than uuid_generate_time() The AIX uuid_t typedef is more aligned to the UUID field based definition while the Linux typedef that is more aligned with UUID bytes (or perhaps UUID bytes_le) definitions.
* remove the dynload_next.c file (closes bpo-32386) (#4957)Benjamin Peterson2017-12-221-4/+15
|
* bpo-26439 Fix ctypes.util.find_library failure on AIX (#4507)Michael Felt2017-12-191-1/+11
| | | | | Implement find_library() support in ctypes/util for AIX. Add some AIX specific tests.
* Modify configure to link with the compiler driver under HP-UX when not using ↵Rob Boehne2017-12-061-1/+2
| | | | gcc. (#2519)
* bpo-28762: Revert last commit (now using Android Unified Headers) (GH-4488)xdegaye2017-11-231-30/+1
|
* bpo-29040: Support building Android with Unified Headers (GH-4492)xdegaye2017-11-231-1/+4
|
* bpo-28538: Revert all the changes (now using Android Unified Headers) (GH-4479)xdegaye2017-11-231-58/+2
|
* Move comments in configure.ac to more appropriate place. (#4371)Serhiy Storchaka2017-11-111-3/+4
|
* bpo-11063: Use more reliable way to check if uuid function exists (GH-4343)Berker Peksag2017-11-081-2/+1
|
* bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287)Berker Peksag2017-11-081-0/+31
|
* Remove outdated with_threads checks in configure.ac (GH-4294)Berker Peksag2017-11-061-7/+1
|
* bpo-31919: Fix building the curses module on OpenIndiana. (#4211)Serhiy Storchaka2017-11-011-0/+30
|
* bpo-25720: Fix the method for checking pad state of curses WINDOW (#4164)Masayuki Yamamoto2017-11-011-1/+38
| | | | | | | | | Modify the code to use ncurses is_pad() instead of checking WINDOW _flags field. If your platform does not provide the is_pad(), the existing way that checks the field will be enabled. Note: This change does not drop support for platforms where do not have both WINDOW _flags field and is_pad().
* bpo-31891: Fix building the curses module on NetBSD. (#4165)Serhiy Storchaka2017-10-311-0/+180
|
* drop unused configure check for pthread_atfork (#4046)Benjamin Peterson2017-10-191-11/+0
|
* Allow configure to handle PATH elements with spaces (#3935)Ned Deily2017-10-091-4/+4
|
* bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362)Masayuki Yamamoto2017-10-061-0/+69
| | | | | | | | | See PEP 539 for details. Highlights of changes: - Add Thread Specific Storage (TSS) API - Document the Thread Local Storage (TLS) API as deprecated - Update code that used TLS API to use TSS API
* closes bpo-31596: Add an interface for pthread_getcpuclockid(3) (#3756)pdox2017-10-051-0/+11
|
* stop using ranlib (closes bpo-31625) (#3815)Benjamin Peterson2017-09-291-94/+1
| | | Instead, simply pass 's' to ar.
* remove support for BSD/OS (closes bpo-31624) (#3812)Benjamin Peterson2017-09-291-14/+2
|
* remove configure check for memmove (#3716)Benjamin Peterson2017-09-241-13/+0
| | | Python requires C implementations provide memmove, so we shouldn't need to check for it. The only place using this configure check was expat, where we can simply always define HAVE_MEMMOVE.
* bpo-31354: Let configure --with-lto work on all buildsoctaviansoldea2017-09-081-4/+4
| | | | | | | | | | Allow configure --with-lto to apply to all builds, not just profile-opt builds. Whether this is actually useful or not must be determined by the person building CPython using their own toolchain. My own quick test on x86_64 Debian 9 (gcc 6.3, binutils 2.28) seemed to suggest that it wasn't, but I expect better toolchains can or will exist at some point. The point is to allow it at all.
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-119/+24
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* bpo-27584: New addition of vSockets to the python socket module (#2489)caavery2017-09-061-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-27584: New addition of vSockets to the python socket module Support for AF_VSOCK on Linux only * bpo-27584: Fixes for V2 Fixed syntax and naming problems. Fixed #ifdef AF_VSOCK checking Restored original aclocal.m4 * bpo-27584: Fixes for V3 Added checking for fcntl and thread modules. * bpo-27584: Fixes for V4 Fixed white space error * bpo-27584: Fixes for V5 Added back comma in (CID, port). * bpo-27584: Fixes for V6 Added news file. socket.rst now reflects first Linux introduction of AF_VSOCK. Fixed get_cid in test_socket.py. Replaced PyLong_FromLong with PyLong_FromUnsignedLong in socketmodule.c Got rid of extra AF_VSOCK #define. Added sockaddr_vm to sock_addr. * bpo-27584: Fixes for V7 Minor cleanup. * bpo-27584: Fixes for V8 Put back #undef AF_VSOCK as it is necessary when vm_sockets.h is not installed.
* bpo-31343: Include sys/sysmacros.h (#3318)Christian Heimes2017-09-051-14/+2
| | | | | | Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray plans to remove the functions from sys/types.h. Signed-off-by: Christian Heimes <christian@python.org>
* remove IRIX support (closes bpo-31341) (#3310)Benjamin Peterson2017-09-041-14/+1
| | | See PEP 11.
* remove configure.ac support for SGI_ABI (#3294)Benjamin Peterson2017-09-041-20/+0
|
* remove check for bug last seem in Solaris 9 (#3285)Benjamin Peterson2017-09-041-36/+0
|
* remove autoconf check for select() (#3283)Benjamin Peterson2017-09-041-1/+1
| | | We never actually check HAVE_SELECT.
* remove configure check for 'volatile' (#3281)Benjamin Peterson2017-09-041-26/+0
| | | This is a required feature is C99, which we require.
* bpo-30946: Remove obsolete fallback code in readline module (#2738)Antoine Pitrou2017-07-181-44/+0
| | | | | | | | | | * Remove obsolete fallback code in readline module * Add NEWS * Remove obsolete include * Fix macro on Windows
* bpo-29585: Fix sysconfig.get_config_var("PYTHONFRAMEWORK") (GH-2483)INADA Naoki2017-06-291-1/+1
| | | | | | | | | | | `PYTHONFRAMEWORK` is defined in `Makefile` and it shoulnd't be used in `pyconfig.h`. `sysconfig.py --generate-posix-vars` reads config vars from Makefile and `pyconfig.h`. Conflicting variables should be avoided. Especially, string config variables in Makefile are unquoted, but in `pyconfig.h` are keep quoted. So it should be private (starts with underscore).
* bpo-29585: optimize site.py startup time (GH-136)INADA Naoki2017-06-281-1/+19
| | | | Avoid importing `sysconfig` from `site` by copying minimum code. Python startup is 5% faster on Linux and 30% faster on macOS
* bpo-28180: Implementation for PEP 538 (#659)Nick Coghlan2017-06-111-0/+54
| | | | | | | | | | - new PYTHONCOERCECLOCALE config setting - coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default - always uses C.UTF-8 on Android - uses `surrogateescape` on stdin and stdout in the coercion target locales - configure option to disable locale coercion at build time - configure option to disable C locale warning at build time
* Clarify what --enable-optimizations does (GH-1847)Brett Cannon2017-06-091-16/+4
|
* Add --with-assertions configure flag to enable C assertions(#1731)T. Wouters2017-05-221-1/+30
| | | Defaults to 'no', but as before assertions are implied by --with-pydebug.
* bpo-23404: make touch becomes make regen-all (#1405)Victor Stinner2017-05-031-21/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python.
* bpo-30232: Regenerate configure (#1396)Victor Stinner2017-05-021-1/+4
| | | Run autoconf.
* bpo-30104: Only use -fno-strict-aliasing on dtoa.c (#1340)Victor Stinner2017-04-281-8/+3
| | | | On clang, only compile dtoa.c with -fno-strict-aliasing, use strict aliasing to compile all other C files.
* bpo-30104: configure now detects when cc is clang (#1233)Victor Stinner2017-04-211-8/+21
| | | | | Detect when the "cc" compiler (and the $CC variable) is the Clang compiler. The test is needed to add the -fno-strict-aliasing option on FreeBSD where cc is clang.