summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-23404: make touch becomes make regen-all (#1405) (#1461)Victor Stinner2017-05-041-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-23404: make touch becomes make regen-all (#1405) 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. (cherry picked from commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b) * bpo-30273: Update sysconfig (#1464) The AST_H_DIR variable was removed from Makefile.pre.in by the commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b (bpo-23404). AST_H_DIR was hardcoded to "Include", so replace the removed variable by its content. Remove also ASDLGEN variable from sysconfig example since this variable was also removed. (cherry picked from commit b109a1d3360fc4bb87b9887264e3634632d392ca)
* [3.6] bpo-30232: Support Git worktree in configure.ac (#1398)Victor Stinner2017-05-021-1/+1
| | | | | | | | | | | | | * bpo-30232: Support Git worktree in configure.ac (#1391) Don't test if .git/HEAD file exists, but only if the .git file (or directory) exists. (cherry picked from commit 5facdbb29169c2799c42f887cef4cd9d087b0167) * bpo-30232: Regenerate configure (#1396) Run autoconf. (cherry picked from commit 9ed34a89532763cf89f5e11fffb91ef7dee29fed)
* bpo-30104: Use -fno-strict-aliasing on clang (#1376)Victor Stinner2017-05-021-7/+27
| | | | | | | | 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. Only compile dtoa.c with -fno-strict-aliasing. LLVM bug report: https://bugs.llvm.org//show_bug.cgi?id=31928
* improve alignment autoconf test (#1129) (#1139)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-869)INADA Naoki2017-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. (cherry picked from commit 8cea5929f52801b0ce5928b46ef836e99a24321a)
* bpo-27593: Revise git SCM build info. (#744) (#745)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. (cherry picked from commit 554626ada769abf82a5dabe6966afa4265acb6a6)
* [3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454)Ned Deily2017-03-041-13/+13
| | | | | | | | | | | * bpo-27593: Get SCM build info from git instead of hg. (#446) 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. (cherry picked from commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178)
* Issue #26851: Set Android compilation and link flags.Xavier de Gaye2017-01-041-2/+16
|
* 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: On Darwin net/if.h requires that sys/socket.h be included ↵Xavier de Gaye2016-12-211-2/+14
| | | | beforehand.
* 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.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: 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: Do not define sys.implementation._multiarch on Android.Xavier de Gaye2016-12-101-23/+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
| |
* | Issue #28605: Fix the help and What's New entry for --with-optimizations.Brett Cannon2016-11-031-2/+2
| |
* | Write configure message to AS_MESSAGE_FDChristian Heimes2016-09-241-1/+1
| |
* | replace usage of Py_VA_COPY with the (C99) standard va_copyBenjamin Peterson2016-09-211-14/+0
| |
* | more granular configure checks for clock_* functions (closes #28081)Benjamin Peterson2016-09-141-0/+6
| |
* | Issue #28066: Merge srcdir fix from 3.5Martin Panter2016-09-121-1/+1
|\ \ | |/
| * Issue #28066: Fix include search directory logic for out-of-tree buildsMartin Panter2016-09-121-1/+1
| |
* | Issue #28046: get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA_NAMEXavier de Gaye2016-09-111-1/+1
| | | | | | | | environment variable that is defined when cross-compiling.
* | Issue #23545: Turn on extra warnings on GCC.Serhiy Storchaka2016-09-111-0/+61
| |
* | Backed out changeset 8460a729e1deBenjamin Peterson2016-09-111-1/+1
| |
* | force gcc to use c99 inline semanticsBenjamin Peterson2016-09-111-1/+1
| |
* | Issue #28046: Remove platform-specific directories from sys.pathZachary Ware2016-09-101-7/+1
| |
* | DTrace support: function calls, GC activity, line executionŁukasz Langa2016-09-101-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc. Largely based by an initial patch by Jesús Cea Avión, with some influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's unification patch. Things deliberately left out for simplicity: - ustack helpers, I have no way of testing them at this point since they are Solaris-specific - PyFrameObject * in function__entry/function__return, this is SystemTap-specific - SPARC support - dynamic tracing - sys module dtrace facility introspection All of those might be added later.
* | Closes #27976: Deprecate bundled full copy of libffiZachary Ware2016-09-101-3/+19
| | | | | | | | | | Builds on non-OSX UNIX now default to using the system libffi, and warn if the bundled copy is used.
* | remove ceval timestamp supportBenjamin Peterson2016-09-091-13/+0
| |
* | remove --with(out)-signal-module, since the signal module is non-optionalBenjamin Peterson2016-09-091-20/+0
| |
* | remove unused osx10.5 sdk checkBenjamin Peterson2016-09-091-10/+0
| |
* | compile with -std=c99 instead of -std=gnu99; use kiddie-gloves with ↵Benjamin Peterson2016-09-091-4/+9
| | | | | | | | bluetooth/bluetooh.h (#28017)
* | issue28032: never imply --with-lto as part of --with-optimizations.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-081-8/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | Too many build tool chains do not properly support it, including building and linking an executable fine that simply segfaults when you try to run it (such as debian jessie 8.5's gcc 4.9). On others where it does appear to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb failures to deal with. We're not going to spend time attempting to maintain a complicated white list of what does and doesn't work in our configure.ac file.
| * issue28032: never imply --with-lto as part of --with-optimizations.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-081-8/+5
| | | | | | | | | | | | | | | | | | | | | | Too many build tool chains do not properly support it, including building and linking an executable fine that simply segfaults when you try to run it (such as debian jessie 8.5's gcc 4.9). On others where it does appear to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb failures to deal with. We're not going to spend time attempting to maintain a complicated white list of what does and doesn't work in our configure.ac file.
| * Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
| |
* | more PY_LONG_LONG to long longBenjamin Peterson2016-09-081-61/+0
| |
* | Issue 28017: Use -std=gnu99 to get C99 with GNU extensions for bluetooth.h ↵Christian Heimes2016-09-081-1/+3
| | | | | | | | on big endian.
* | Fixes Issue #27983: Cause lack of llvm-profdata tool when using clang asGregory P. Smith2016-09-071-4/+51
|\ \ | |/ | | | | | | | | required for PGO linking to be a configure time error rather than make time when --with-optimizations is enabled. Also improve our ability to find the llvm-profdata tool on MacOS and some Linuxes.
| * Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -Gregory P. Smith2016-09-071-4/+51
| | | | | | | | | | | | required for PGO linking - to be a configure time error rather than make time when --with-optimizations is enabled. Also improve our ability to find the llvm-profdata tool on MacOS and some Linuxes.
| * Issue #26359: Add the --with-optimizations flag.Brett Cannon2016-09-071-0/+41
| |
* | put -std=c99 in CFLAGS_NODISTBenjamin Peterson2016-09-071-2/+2
| |
* | compile with -std=c99Benjamin Peterson2016-09-071-0/+2
| |
* | permit intermingled declarationsBenjamin Peterson2016-09-071-22/+0
| |
* | require C99 boolBenjamin Peterson2016-09-071-10/+0
| |
* | Issue #26359: Add the --with-optimizations configure flag.Brett Cannon2016-09-071-0/+41
| | | | | | | | | | The flag will activate LTO and PGO build support when available. Thanks to Alecsandur Patrascu of Intel for the original patch.
* | merge 3.5Benjamin Peterson2016-09-061-0/+2
|\ \ | |/