summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
...
* remove support for BSD/OS (closes bpo-31624) (#3812)Benjamin Peterson2017-09-281-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-291-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-231-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-201-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-201-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-191-1/+1
|\ \ | |/
| * merge 3.5 (#28932)Benjamin Peterson2016-12-191-1/+1
| |\
| | * add a specific configure check for sys/random.h (closes #28932)Benjamin Peterson2016-12-191-1/+1
| | |
* | | Issue #28190: Merge 3.6.Xavier de Gaye2016-12-131-1/+3
|\ \ \ | |/ /
| * | Issue #28190: Cross compiling the _curses module does not use anymoreXavier de Gaye2016-12-131-1/+3
| | | | | | | | | | | | /usr/include/ncursesw as a headers search path.
* | | Issue #28849: Merge 3.6.Xavier de Gaye2016-12-101-23/+1
|\ \ \ | |/ /
| * | Issue #28849: Do not define sys.implementation._multiarch on Android.Xavier de Gaye2016-12-101-23/+1
| | |
* | | Issue #10656: Merge AIX build fix from 3.6Martin Panter2016-11-201-1/+1
|\ \ \ | |/ /
| * | Issue #10656: Merge AIX build fix from 3.5Martin Panter2016-11-201-1/+1
| |\ \ | | |/
| | * Issue #10656: Fix out-of-tree building on AIXMartin Panter2016-11-201-1/+1
| | | | | | | | | | | | | | | The ld_so_aix script and python.exp file are created in the build directory. Patch by Tristan Carel and Michael Haubenwallner.
* | | Rename the new --with-optimiations flag to --enable-optimizations.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-11-201-5/+5
|\ \ \ | |/ /
| * | Rename the new --with-optimiations flag to --enable-optimizations.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-11-201-5/+5
| |\ \ | | |/
| | * Rename the new --with-optimiations flag to --enable-optimizations.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-11-201-5/+5
| | |