summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
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 /Python/pystate.c
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 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions