mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-122571: Remove duplicate definition of PY_BUILTIN_HASHLIB_HASHES in configure.ac (#122572)
The redefinition in confdefs.h can cause issues with the AX_CHECK_COMPILE_FLAG macro.
This commit is contained in:
parent
4767a6e31c
commit
b5e142ba7c
2 changed files with 3 additions and 6 deletions
4
configure
generated
vendored
4
configure
generated
vendored
|
@ -28697,9 +28697,6 @@ fi
|
|||
|
||||
# builtin hash modules
|
||||
default_hashlib_hashes="md5,sha1,sha2,sha3,blake2"
|
||||
|
||||
printf "%s\n" "#define PY_BUILTIN_HASHLIB_HASHES /**/" >>confdefs.h
|
||||
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-builtin-hashlib-hashes" >&5
|
||||
printf %s "checking for --with-builtin-hashlib-hashes... " >&6; }
|
||||
|
||||
|
@ -28724,6 +28721,7 @@ fi
|
|||
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_builtin_hashlib_hashes" >&5
|
||||
printf "%s\n" "$with_builtin_hashlib_hashes" >&6; }
|
||||
|
||||
printf "%s\n" "#define PY_BUILTIN_HASHLIB_HASHES \"$with_builtin_hashlib_hashes\"" >>confdefs.h
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue