summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. ↵Miss Islington (bot)2018-01-241-1/+1
| | | | | | | | (GH-5284) (#5296) glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system. (cherry picked from commit e768c86ef442ef89004089a8a34ce5909ffb90f2)
* [3.6] make tags: index also Modules/_ctypes/ (#4648) (#4659)Victor Stinner2017-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `make tags` fixes (GH-717) * 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. (cherry picked from commit 8a543c0bc7347d5b333f334d157bf4a7cd33c14a) * make tags: index also Modules/_ctypes/ (#4648) Avoid also "cd $(srcdir)" to not change the current directory. (cherry picked from commit 3be3b97a9709d3cd5303175ddbffa7dcca57ac3e)
* bpo-31919: Fix building the curses module on OpenIndiana. (GH-4211) (#4215)Miss Islington (bot)2017-11-011-0/+11
| | | (cherry picked from commit 894ebd065e02debf20c0657d26020ecc42b7534f)
* bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) ↵Miss Islington (bot)2017-11-011-1/+19
| | | | | | | | | | | (#4212) 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(). (cherry picked from commit 8bc7d63560024681dce9f40445f2877b2987e92c)
* bpo-31891: Fix building the curses module on NetBSD. (GH-4165) (#4189)Miss Islington (bot)2017-10-311-0/+66
| | | (cherry picked from commit baac01e629d90f63dfde6b5cc433f4bc65c5feeb)
* Allow configure to handle PATH elements with spaces (#3935) (#3937)Ned Deily2017-10-091-4/+4
| | | Fix some tests in ./configure for determining macOS compiler choices that could fail if a $PATH element contained spaces.
* [3.6] bpo-31343: Include sys/sysmacros.h (GH-3318) (#3344)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> (cherry picked from commit 75b9618)
* [3.6] Clarify what --enable-optimizations does (GH-1847) (GH-2039)Brett Cannon2017-06-091-2/+2
| | | (cherry picked from commit b4e5fee6f5bcc50500ea6261a22021db58955b55)
* [3.6] Add --with-assertions configure flag to enable C assertions(GH-1731) ↵T. Wouters2017-05-231-1/+22
| | | | | | (#1739) Defaults to 'no', but as before assertions are implied by --with-pydebug.. (cherry picked from commit ddbfa2c35b298a56f0b813656745bca9cb7334f1)
* [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.