summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45847: Port _bisect, _heapq, _json, _pickle, _random, and _zoneinfo to ↵Erlend Egeberg Aasland2021-11-221-1/+7
| | | | | PY_STDLIB_MOD_SIMPLE (GH-29689) Automerge-Triggered-By: GH:tiran
* bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE ↵Erlend Egeberg Aasland2021-11-221-0/+4
| | | | (GH-29688)
* bpo-45723: Add helpers for save/restore env (GH-29637)Erlend Egeberg Aasland2021-11-221-30/+48
|
* bpo-45847: Port codecs and unicodedata to PY_STDLIB_MOD (GH-29685)Christian Heimes2021-11-211-0/+8
|
* bpo-45847: Port grp, spwd, termios, resource, syslog to PY_STDLIB_MOD (GH-29668)Christian Heimes2021-11-211-2/+7
|
* bpo-45847: Port test modules to PY_STDLIB_MOD (GH-29660)Christian Heimes2021-11-201-5/+12
|
* bpo-45774: Fix SQLite load extension autodetection (GH-29659)Erlend Egeberg Aasland2021-11-201-1/+3
|
* bpo-45847: Port _scproxy to PY_STDLIB_MOD (GH-29644)Christian Heimes2021-11-201-0/+3
|
* bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642)Christian Heimes2021-11-191-15/+31
|
* bpo-45573: Move mandatory core modules to Modules/Setup.bootstrap (GH-29616)Christian Heimes2021-11-191-1/+23
|
* bpo-45774: Autoconfiscate SQLite detection (GH-29507)Erlend Egeberg Aasland2021-11-191-1/+45
| | | Co-authored-by: Christian Heimes <christian@python.org>
* bpo-45573: Add Modules/Setup.stdlib with conditional modules (GH-29615)Christian Heimes2021-11-181-0/+1
|
* bpo-45573: check for ossaudiodev in configure (GH-29614)Christian Heimes2021-11-181-1/+5
|
* bpo-45573: Introduce extension module flags in Makefile (GH-29594)Christian Heimes2021-11-181-0/+62
| | | | | | | | | | | | | | | | | | ``configure`` now uses a standardized format to forward state, compiler flags, and linker flags to ``Makefile``, ``setup.py``, and ``Modules/Setup``. ``makesetup`` use the new variables by default if a module line does not contain any compiler or linker flags. ``setup.py`` has a new function ``addext()``. For a module ``egg``, configure adds: * ``MODULE_EGG`` with value yes, missing, disabled, or n/a * ``MODULE_EGG_CFLAGS`` * ``MODULE_EGG_LDFLAGS`` ``Makefile.pre.in`` may also provide ``MODULE_EGG_DEPS`` that lists dependencies such as header files and static libs. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-45800: Move pyexpat build setup into configure (GH-29547)Christian Heimes2021-11-141-0/+14
| | | | | | Settings for :mod:`pyexpat` C extension are now detected by ``configure``. The bundled ``expat`` library is built in ``Makefile``. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-45798: Move _decimal build setup into configure (GH-29541)Christian Heimes2021-11-131-1/+77
| | | | | | | Settings for :mod:`decimal` internal C extension are now detected by :program:`configure`. The bundled `libmpdec` library is built in ``Makefile``. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-45696: Deep-freeze selected modules (GH-29118)Guido van Rossum2021-11-111-1/+2
| | | | | | | This gains 10% or more in startup time for `python -c pass` on UNIX-ish systems. The Makefile.pre.in generating code builds on Eric's work for bpo-45020, but the .c file generator is new. Windows version TBD.
* bpo-45723: Add --with-pkg-config to configure (GH-29517)Christian Heimes2021-11-101-2/+30
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-45747: Detect gdbm/dbm dependencies in configure (GH-29467)Christian Heimes2021-11-101-1/+72
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-45723: Improve and simplify more configure.ac checks (GH-29485)Erlend Egeberg Aasland2021-11-101-107/+49
|
* bpo-45723: Remove dead code for obsolete `--with-dyld` option (GH-29500)Erlend Egeberg Aasland2021-11-091-4/+0
| | | | | | | | Was commented out by Jack Jansen in 2001-08-15 by commit b6e9cad34ce46a6a733d8aa5bf5b9d389fa1316f: "Ripped out Next/OpenStep support, which was broken anyway" Automerge-Triggered-By: GH:tiran
* bpo-45763: Detect compression build deps in configure (GH-29483)Christian Heimes2021-11-091-3/+20
|
* bpo-45723: Remove obsolete AC_EXEEXT from configure.ac (GH-29486)Erlend Egeberg Aasland2021-11-091-1/+0
| | | | | | | From the autoconf docs *Obsolete Macros* section: Defined the output variable EXEEXT based on the output of the compiler, which is now done automatically. Typically set to empty string if Posix and ‘.exe’ if a DOS variant.
* bpo-45743: -Wl,-search_paths_first is no longer needed (GH-29464)Christian Heimes2021-11-091-26/+0
|
* bpo-45723: Prepare support for autoconf 2.71 (GH-29441)Christian Heimes2021-11-081-21/+21
|
* bpo-45723: Add macro for disabling/enabling CC warnings (GH-29466)Erlend Egeberg Aasland2021-11-081-159/+51
| | | Co-authored-by: Christian Heimes <christian@python.org>
* bpo-45723: Add helper macros and more caching to configure.ac (GH-29429)Christian Heimes2021-11-081-420/+245
| | | | | | | | | | | | | | | | | Almost all checks are now cached by AC_CACHE_CHECK(). Common patterns are replaced by helper macros. Variable names now use naming scheme ``ac_cv_func_$funcname``, ``ac_cv_lib_$library_$funcname``, or ``ac_cv_header_$headername_h``. ``SYS_SELECT_WITH_SYS_TIME`` is no longer used. ``uuid_create`` and ``uuid_enc_be`` are provided by libc on BSD. It is safe to use ``AC_CHECK_FUNCS`` here. Caching speeds up ./configure -C from ~ 4s to 2.6s on my system. Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-45723: Detect missing pkg-config (GH-29442)Christian Heimes2021-11-071-1/+11
|
* bpo-45731: Handle --enable-loadable-sqlite-extensions in configure (GH-29434)Christian Heimes2021-11-061-2/+6
|
* bpo-43158: Use configure values for building _uuid extension (GH-29353)Christian Heimes2021-11-021-1/+6
|
* bpo-45548: Fix out-of-tree and Debian builds (GH-29263)Christian Heimes2021-10-281-1/+17
| | | | | | | | | | | | | | | Add Modules subdirs to SRCDIRS to generate directories for out-of-tree object files. Debian wants ncurses lib. Works on Fedora, too. Debian also needs pkg-config to detect correct flags. Remove more outdated comments. Makefile now tracks header dependencies -lintl is injected by configure when needed. Build _dbm with gdbm-compat. Group some modules by purpose. socket, select, and mmap work on Windows, too.
* bpo-45548: Remove checks for finite and gamma (GH-29206)Christian Heimes2021-10-251-1/+1
|
* bpo-45548: Remove _math.c workarounds for pre-C99 libm (GH-29179)Christian Heimes2021-10-251-2/+6
| | | | | | | | | | | | | The :mod:`math` and :mod:`cmath` implementation now require a C99 compatible ``libm`` and no longer ship with workarounds for missing acosh, asinh, expm1, and log1p functions. The changeset also removes ``_math.c`` and moves the last remaining workaround into ``_math.h``. This simplifies static builds with ``Modules/Setup`` and resolves symbol conflicts. Co-authored-by: Mark Dickinson <mdickinson@enthought.com> Co-authored-by: Brett Cannon <brett@python.org> Signed-off-by: Christian Heimes <christian@python.org>
* bpo-45522: Allow to disable freelists on build time (GH-29056)Christian Heimes2021-10-211-0/+17
| | | | | | | | Freelists for object structs can now be disabled. A new ``configure`` option ``--without-freelists`` can be used to disable all freelists except empty tuple singleton. Internal Py*_MAXFREELIST macros can now be defined as 0 without causing compiler warnings and segfaults. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-45536: Check OpenSSL APIs in configure (GH-29088)Christian Heimes2021-10-201-0/+42
|
* bpo-45440: Remove pymath.c fallbacks (GH-28977)Victor Stinner2021-10-151-2/+2
| | | | | | | | Remove fallbacks for missing round(), copysign() and hypot() in Python/pymath.c. Python now requires these functions to build. These fallbacks were needed on Visual Studio 2012 and older. They are no longer needed since Visual Stuido 2013. Python is now built with Visual Studio 2017 or newer since Python 3.6.
* bpo-45440: Require math.h isinf() to build (GH-28894)Victor Stinner2021-10-131-1/+0
| | | | | | | | | | | | | | | Building Python now requires a C99 <math.h> header file providing isinf(), isnan() and isfinite() functions. Remove the Py_FORCE_DOUBLE() macro. It was used by the Py_IS_INFINITY() macro. Changes: * Remove Py_IS_NAN(), Py_IS_INFINITY() and Py_IS_FINITE() in PC/pyconfig.h. * Remove the _Py_force_double() function. * configure no longer checks if math.h defines isinf(), isnan() and isfinite().
* bpo-45405: Prevent ``internal configure error`` when running ``configure`` ↵David Bohman2021-10-131-3/+5
| | | | | | | | with recent versions of non-Apple clang. (#28845) Change the configure logic to function properly on macOS when the compiler outputs a platform triplet for option --print-multiarch. Co-authored-by: Ned Deily <nad@python.org>
* bpo-45433: Do not link libpython against libcrypt (GH-28881)Mike Gilbert2021-10-111-0/+3
| | | | Save/restore LIBS when calling AC_SEARCH_LIBS(..., crypt). This avoid linking libpython with libcrypt.
* bpo-29410: Change the default hash algorithm to SipHash13. (GH-28752)Inada Naoki2021-10-101-3/+6
| | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Christian Heimes <christian@python.org>
* bpo-45163: Restrict added libnetwork check to builds on Haiku. (GH-28729)Ned Deily2021-10-051-2/+5
| | | | | | For example, without the guard the check could cause macOS installer builds to fail to install on older supported macOS releases where libnetwork is not available and is not needed on any release.
* bpo-41710: PyThread_acquire_lock_timed() uses sem_clockwait() (GH-28662)Victor Stinner2021-10-011-1/+1
| | | | | | | | | On Unix, if the sem_clockwait() function is available in the C library (glibc 2.30 and newer), the threading.Lock.acquire() method now uses the monotonic clock (time.CLOCK_MONOTONIC) for the timeout, rather than using the system clock (time.CLOCK_REALTIME), to not be affected by system clock changes. configure now checks if the sem_clockwait() function is available.
* bpo-21302: Add nanosleep() implementation for time.sleep() in Unix (GH-28545)Victor Stinner2021-09-251-0/+6
| | | Co-authored-by: Livius <egyszeregy@freemail.hu>
* bpo-21302: Add clock_nanosleep() implementation for time.sleep() (GH-28111)Livius2021-09-131-0/+6
| | | | | | In Unix operating systems, time.sleep() now uses the clock_nanosleep() function, if available, which allows to sleep for an interval specified with nanosecond precision. Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-45163: Haiku build fix. (GH-28269)David CARLIER2021-09-111-1/+5
| | | | | | linkage issues mainly for shared libs and missing system library, also little nit into the signal extension as strsignal returns a constant in this platform.
* bpo-34602: Quadruple stack size on macOS when compiling with UBSAN (GH-27309)Łukasz Langa2021-09-031-40/+53
|
* bpo-44340: Add support for building with clang full/thin lto (GH-27231)Dong-hee Na2021-07-191-12/+45
|
* Fix typos in multiple files (GH-26689)Binbin2021-06-131-4/+4
| | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-43109: Fix --with-lto configure option on macOS (GH-26341)Ned Deily2021-05-251-3/+6
| | | | Allow --with-lto configure option to work with Apple-supplied Xcode or Command Line Tools which do not provide llvm-ar.
* Fix typo for configure.ac (GH-26305)Dong-hee Na2021-05-211-1/+1
|