summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-31343: Include sys/sysmacros.h (GH-3318) (#3345)Christian Heimes2017-09-051-2/+3
| | | | | | | 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>. (cherry picked from commit 75b961869a1184895c9d5bf41a57f3c985622662)
* bpo-29766: Do not force --with-lto to true for --enable-optimizations (#1858)Hanno Schlichting2017-05-301-1/+0
| | | This fixes a faulty backport to the Python 2.7 branch only of http://bugs.python.org/issue28032. Details in the bpo-29766.
* bpo-23404: make touch becomes make regen-all (#1466)Victor Stinner2017-05-051-6/+47
| | | | | | | | | | | | | | | | | | | | 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-opcode-targets: Python/opcode_targets.h * Add PYTHON_FOR_REGEN variable * 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
* bpo-30232: Support Git worktree in configure.ac (#1402)Victor Stinner2017-05-021-1/+1
| | | | Don't test if .git/HEAD file exists, but only if the .git file (or directory) exists.
* bpo-27593: Get SCM build info from git instead of hg (#1327)Victor Stinner2017-05-021-67/+26
| | | | | | | | | | | Based on commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178 by Ned Deily, which is based on original patches by Brett Cannon and Steve Dower. Remove also the private _Py_svnversion() function and SVNVERSION variable. Note: Py_SubversionRevision() and Py_SubversionShortBranch() are unchanged, they are part of the public API.
* Fix "make tags" command (#1337)Victor Stinner2017-04-281-1/+1
| | | | | | | | | | | Backport enhancements from master, commits: * 9c4bfa6669e220efdd379b9f8e7db32bb4e25e72: "make tags": remove -t option of ctags. The option was kept for backward compatibility, but it was completly removed recently. Patch written by Stéphane Wirtel. * cf0ac6a71ae51249a05521f49c1a0fabbb948488: Fix "make tags": set locale to C to call sort * 8a543c0bc7347d5b333f334d157bf4a7cd33c14a: `make tags` fixes (GH-717)
* bpo-29643: Fix check for --enable-optimizations (GH-873)INADA Naoki2017-03-281-14/+2
| | | | | | 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)
* add a specific configure check for sys/random.h (closes #28932)Benjamin Peterson2016-12-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-12/+11
|
* Issue #15819: Drop dead code; -IInclude already added unconditionallyMartin Panter2016-09-131-15/+0
|
* issue28032: never imply --with-lto as part of --with-optimizations.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-081-7/+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.
* Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -Gregory P. Smith2016-09-081-17/+163
| | | | | | 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.Gregory P. Smith2016-09-081-0/+55
|
* do not leak addrinfo in configure testBenjamin Peterson2016-09-061-0/+2
|
* https link to the bug tracker (closes #27670)Benjamin Peterson2016-08-041-8/+8
|
* Issue #27641: Comment out regeneration rules when cross compilingMartin Panter2016-07-291-5/+4
|
* Issue #27490: Do not build pgen when cross-compilingMartin Panter2016-07-281-0/+4
| | | | | | | | The dependendency on the $(PGEN) variable must only be set when not cross-compiling. When cross-compiling, $(PGEN) will not be used, so no need to build it. Patch by Thomas Perl.
* assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes ↵Benjamin Peterson2016-07-071-43/+14
| | | | #24557)
* Issue #25702: A --with-lto configure option has been added that willGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-06-021-0/+47
| | | | | | | enable link time optimizations at build time during a make profile-opt. Some compilers and toolchains are known to not produce stable code when using LTO, be sure to test things thoroughly before relying on it. It can provide a few % speed up over profile-opt alone.
* Issue #27076: Doc, comment and test function name spelling fixesMartin Panter2016-05-261-1/+1
| | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* Issue #22359: Avoid recursive $(MAKE); disable running cross-compiled pgenMartin Panter2016-04-231-0/+1
| | | | Patches by Jonas Wagner and Xavier de Gaye.
* Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric PriceMartin Panter2016-04-031-0/+44
|
* Issue #17603: Check for st_blocks field without requiring fileblocks.oMartin Panter2016-03-181-10/+0
|
* Issue #25827: Add support for ICC to configureZachary Ware2015-12-211-0/+44
|
* Issue #24915: Make PGO builds support Clang and use the test suite forBrett Cannon2015-09-181-0/+82
| | | | | | profile data. Thanks to Alecsandru Patrascu of Intel for the initial patch.
* Issue #24543: Use AC_LINK instead of AC_COMPILE in order to prevent falseStefan Krah2015-07-031-2/+3
| | | | positives with the -flto option (gcc >= 4.9.0 and clang).
* backport computed gotos (#4753)Benjamin Peterson2015-05-281-0/+83
|
* - Regenerate the configure file.doko@ubuntu.com2015-04-131-3/+7
|
* Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. TheVictor Stinner2015-01-061-0/+42
| | | | | availability of the function is checked during the compilation. Patch written by Bernard Spil.
* use getentropy when available (backport of 75ede5bec8db) (closes #23115)Benjamin Peterson2014-12-261-1/+2
|
* use autoconf macro to check for pkg-config (closes #15506)Benjamin Peterson2014-12-151-2/+34
|
* Issue 22878: PEP 477 - "make install" and "make altinstall" integrationNed Deily2014-11-201-0/+30
| | | | | | | | | | | | | | The backport of ensurepip to 2.7.9 allows pip to optionally be installed or upgraded using the bundled pip provided by the new ensurepip module. The option can be specified persistently using the configure option: ./configure --with-ensurepip[=upgrade|install|no] It can also be overridden on either the "install" or "altinstall" targets: make [alt]install ENSUREPIP=[upgrade|install|no] For Python 2, the default option is "no" (do not install pip).
* Issue #21166: Prevent possible segfaults and other random failures ofNed Deily2014-08-221-0/+3
| | | | | | | python --generate-posix-vars in pybuilddir.txt build target by ensuring that pybuilddir.txt is always regenerated when configure is run and that the newly built skeleton python does not inadvertently import modules from previously installed instances.
* Issue #21811: Anticipated fixes to 2.7 configure for OS X 10.10 Yosemite.Ned Deily2014-06-251-10/+23
|
* - Issue #17752: Fix distutils tests when run from the installed location.doko@ubuntu.com2014-05-071-7/+7
|
* - Issue #21285: Refactor and fix curses configure check to always searchdoko@ubuntu.com2014-04-171-21/+41
| | | | in a ncursesw directory.
* mmap obmalloc arenas so that they may be immediately returned to the system ↵Benjamin Peterson2014-02-041-1/+1
| | | | when unused (closes #20494)
* Issue #1584: Provide options to override default search paths for Tcl and TkNed Deily2013-10-251-0/+48
| | | | | | | | | | | | | | | when building _tkinter. configure has two new options; if used, both must be specified: ./configure \ --with-tcltk-includes="-I/opt/local/include" \ --with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5" In addition, the options can be overridden with make: make \ TCLTK_INCLUDES="-I/opt/local/include" \ TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
* Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.Christian Heimes2013-08-211-0/+11
| | | | | A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
* Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if ↵Christian Heimes2013-06-181-1/+1
| | | | it's available
* Issue #18098: The deprecated OS X Build Applet.app fails to build onNed Deily2013-05-301-1/+1
| | | | | OS X 10.8 systems because the Apple-deprecated QuickDraw headers have been removed from Xcode 4. Skip building it in this case.
* -Wformat is needed by gcc 4.8 (closes #17547)Benjamin Peterson2013-05-111-1/+1
|
* fix variable reference to fix --enable-profiling (closes #17550)Benjamin Peterson2013-03-261-1/+1
|
* - Issue #17086: Backport the patches from the 3.3 branch to cross-builddoko@python.org2013-01-311-99/+554
| | | | the package.
* - Issue #3754: fix typo in pthread AC_CACHE_VAL.doko@python.org2013-01-251-1/+1
|
* - Issue #17029: Let h2py search the multiarch system include directory.doko@python.org2013-01-251-0/+4
|
* Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.Charles-François Natali2013-01-081-142/+146
|
* IRIX: force MIPSpro to treat #errors as errors, not warnings.Trent Nelson2012-12-131-0/+33
|
* Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on ↵Mark Dickinson2012-12-021-0/+40
| | | | some platforms.