summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Build
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-08 07:06:31 (GMT)
committerGitHub <noreply@github.com>2021-11-08 07:06:31 (GMT)
commit57c50c9c7c701a8301c5a89b2b2d050550f62022 (patch)
tree7b4592e8df1d9362aad4167e779281f460488bae /Misc/NEWS.d/next/Build
parent19b107e9b52dbd73f4c52adcb91e8185a53b45ae (diff)
downloadcpython-57c50c9c7c701a8301c5a89b2b2d050550f62022.zip
cpython-57c50c9c7c701a8301c5a89b2b2d050550f62022.tar.gz
cpython-57c50c9c7c701a8301c5a89b2b2d050550f62022.tar.bz2
bpo-45723: Add helper macros and more caching to configure.ac (GH-29429)
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>
Diffstat (limited to 'Misc/NEWS.d/next/Build')
-rw-r--r--Misc/NEWS.d/next/Build/2021-11-05-15-09-49.bpo-45723.gfSxur.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2021-11-05-15-09-49.bpo-45723.gfSxur.rst b/Misc/NEWS.d/next/Build/2021-11-05-15-09-49.bpo-45723.gfSxur.rst
new file mode 100644
index 0000000..bd6666a
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2021-11-05-15-09-49.bpo-45723.gfSxur.rst
@@ -0,0 +1,2 @@
+configure.ac now uses custom helper macros and ``AC_CACHE_CHECK`` to
+simplify and speed up configure runs.