summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* 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/+12
|
* 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/+11
|
* bpo-25720: Fix the method for checking pad state of curses WINDOW (#4164)Masayuki Yamamoto2017-11-011-1/+19
| | | | | | | | | 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/+66
|
* drop unused configure check for pthread_atfork (#4046)Benjamin Peterson2017-10-191-1/+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/+19
| | | | | | | | | 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/+1
|
* stop using ranlib (closes bpo-31625) (#3815)Benjamin Peterson2017-09-291-2/+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-3/+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-2/+3
| | | | | | | | | | 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-60/+19
| | | | | | * 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/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1/+1
| | | | | | 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-12/+1
| | | See PEP 11.
* remove configure.ac support for SGI_ABI (#3294)Benjamin Peterson2017-09-041-18/+0
|
* remove check for bug last seem in Solaris 9 (#3285)Benjamin Peterson2017-09-041-18/+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-8/+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-5/+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-0/+2
| | | | 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/+34
| | | | | | | | | | - 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-2/+2
|
* Add --with-assertions configure flag to enable C assertions(#1731)T. Wouters2017-05-221-1/+22
| | | 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-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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: Support Git worktree in configure.ac (#1391)Victor Stinner2017-05-021-1/+1
| | | | Don't test if .git/HEAD file exists, but only if the .git file (or directory) exists.
* bpo-30104: Only use -fno-strict-aliasing on dtoa.c (#1340)Victor Stinner2017-04-281-8/+5
| | | | 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.
* bpo-30104: Use -fno-strict-aliasing on clang (#1221)Victor Stinner2017-04-211-6/+16
| | | | | | | | Python/dtoa.c is not compiled correctly with clang 4.0 and optimization level -O2 or higher, because of an aliasing issue on the double/ULong[2] union. LLVM bug report: https://bugs.llvm.org//show_bug.cgi?id=31928
* remove configure test for inline keyword (#1231)Benjamin Peterson2017-04-211-7/+0
| | | We require C99, so a configure test for this standard feature is not needed.
* improve alignment autoconf test (#1129)Benjamin Peterson2017-04-141-10/+9
| | | | Replace the deprecated AC_TRY_RUN with AC_RUN_IFELSE. Also, standardize the variable name and allow for caching of the result.
* bpo-29643: Fix check for --enable-optimizations (GH-129)Alex Wang2017-03-281-1/+1
| | | | | The presence of the ``--enable-optimizations`` flag is indicated by the value of ``$enableval``, but the configure script was checking ``$withval``, resulting in the ``--enable-optimizations`` flag being effectively ignored.
* `make tags` fixes (GH-717)Alex Dzyoba2017-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Fix `make tags` warnings `make tags` target tries to find C sources and headers in "Grammar" and "Mac" folders and generates these warnings: ctags: Warning: cannot open source file "Grammar/*.[ch]" : No such file or directory ctags: Warning: cannot open source file "Mac/*.[ch]" : No such file or directory This commit changes $SRCDIRS variable in configure.ac to remote these directories. This variable is used only for tags generation. Also, "configure" was regenerated with `autoreconf`. * Fix `make tags` fail on non-default tag names When ctags overrides default tags filename (e.g. `-f .tags`) `make tags` is failed because it assumes to see default `tags` filename: sort: cannot read: tags: No such file or directory This commit explicitly specifies "tags" filename for tags generation.
* bpo-27593: Revise git SCM build info. (#744)Ned Deily2017-03-211-2/+2
| | | | | | | | | | | | | | | | | | | | | Use --short form of git hash. Use output from "git describe" for tag. Expected outputs: 1. previous hg 2. previous git 3. updated git Release (tagged) build: 1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ... 2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ... 3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ... Development build: 1. Python 3.7.0a0 (default:41df79263a11, ... 2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ... 3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ... "dirty" means the working tree has uncommitted changes. See "git help describe" for more info.
* bpo-27593: Get SCM build info from git instead of hg. (#446)Ned Deily2017-03-041-13/+13
| | | | | | | sys.version and the platform module python_build(), python_branch(), and python_revision() functions now use git information rather than hg when building from a repo. Based on original patches by Brett Cannon and Steve Dower.
* Prohibit implicit C function declarationsVictor Stinner2017-02-061-0/+20
| | | | | | | Issue #27659: use -Werror=implicit-function-declaration when possible (GCC and Clang, but it depends on the compiler version). Patch written by Chi Hsuan Yen.
* Issue #26851: Merge 3.6.Xavier de Gaye2017-01-041-2/+16
|\
| * Issue #26851: Set Android compilation and link flags.Xavier de Gaye2017-01-041-2/+16
| |
* | Issue #28762: Merge 3.6.Xavier de Gaye2016-12-221-1/+10
|\ \ | |/
| * Issue #28762: lockf() is available on Android API level 24, but theXavier de Gaye2016-12-221-1/+10
| | | | | | | | F_LOCK macro is not defined in android-ndk-r13.
* | Issue #28538: Merge 3.6.Xavier de Gaye2016-12-211-2/+14
|\ \ | |/
| * Issue #28538: On Darwin net/if.h requires that sys/socket.h be included ↵Xavier de Gaye2016-12-211-2/+14
| | | | | | | | beforehand.
* | Issue #28538: Merge 3.6.Xavier de Gaye2016-12-211-1/+13
|\ \ | |/
| * Issue #28538: Fix the compilation error that occurs because if_nameindex() isXavier de Gaye2016-12-211-1/+13
| | | | | | | | available on Android API level 24, but the if_nameindex structure is not defined.
* | merge 3.6 (#28932)Benjamin Peterson2016-12-201-1/+1
|\ \ | |/