]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-123917: Fix crypt check in configure (#123952)
authorVictor Stinner <vstinner@python.org>
Thu, 12 Sep 2024 14:21:31 +0000 (16:21 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Sep 2024 14:21:31 +0000 (16:21 +0200)
commit53af5b2dd2069680be4ce76626c857e9b2959f77
tree31ad46f6c0f0fdd69effade3792bc84953c5c80f
parent5c15b1a05aa0f5b102bcbe8017c884e4147ab72d
[3.12] gh-123917: Fix crypt check in configure (#123952)

Use a global volatile variable and check if the function is not NULL
to use the variable. Otherwise, a compiler optimization can remove
the variable making the check useless.

Co-authored-by: Paul Smith <paul@mad-scientist.net>
Misc/NEWS.d/next/Build/2024-09-11-16-06-42.gh-issue-123917.JuZl0r.rst [new file with mode: 0644]
configure
configure.ac