summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ | |/
| * merge 3.5 (#28932)Benjamin Peterson2016-12-201-1/+1
| |\
| | * add a specific configure check for sys/random.h (closes #28932)Benjamin Peterson2016-12-201-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
| | |
* | | Merge for issue #28605Brett Cannon2016-11-031-2/+2
|\ \ \ | |/ /
| * | Issue #28605: Fix the help and What's New entry for --with-optimizations.Brett Cannon2016-11-031-2/+2
| | |
* | | Issue #21085: Fix accidental leading +'s in configure.acZachary Ware2016-10-011-2/+2
| | |
* | | Issue #21085: add configure check for siginfo_t.si_bandZachary Ware2016-10-011-0/+2
| | | | | | | | | | | | | | | | | | | | | Patch by Masayuki Yamamoto, reviewed and rebased by Erik Bray. This is a first step on the long road toward resupporting Cygwin, which does not provide siginfo_t.si_band.
* | | Write configure message to AS_MESSAGE_FDChristian Heimes2016-09-241-1/+1
|\ \ \ | |/ /
| * | Write configure message to AS_MESSAGE_FDChristian Heimes2016-09-241-1/+1
| | |
* | | merge 3.6Benjamin Peterson2016-09-211-14/+0
|\ \ \ | |/ /
| * | replace usage of Py_VA_COPY with the (C99) standard va_copyBenjamin Peterson2016-09-211-14/+0
| | |
* | | Closes #27979: Remove bundled copy of libffiZachary Ware2016-09-171-19/+21
| | | | | | | | | | | | | | | An installed copy of libffi is now required for building _ctypes on any platform but OSX and Windows.
* | | merge 3.6 (#28081)Benjamin Peterson2016-09-141-0/+6
|\ \ \ | |/ /
| * | more granular configure checks for clock_* functions (closes #28081)Benjamin Peterson2016-09-141-0/+6
| | |
* | | Bump to 3.7.0a0Ned Deily2016-09-121-1/+1
|/ /