Skip to content

Commit 8a4f708

Browse files
[3.13] gh-122571: Remove duplicate definition of PY_BUILTIN_HASHLIB_HASHES in configure.ac (GH-122572) (#122763)
gh-122571: Remove duplicate definition of PY_BUILTIN_HASHLIB_HASHES in configure.ac (GH-122572) The redefinition in confdefs.h can cause issues with the AX_CHECK_COMPILE_FLAG macro. (cherry picked from commit b5e142b) Co-authored-by: Jonathan Protzenko <protz@microsoft.com>
1 parent 29733b0 commit 8a4f708

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

configure

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7318,8 +7318,6 @@ AC_DEFINE([PY_SSL_DEFAULT_CIPHERS], [1])
73187318

73197319
# builtin hash modules
73207320
default_hashlib_hashes="md5,sha1,sha2,sha3,blake2"
7321-
AC_DEFINE([PY_BUILTIN_HASHLIB_HASHES], [], [enabled builtin hash modules]
7322-
)
73237321
AC_MSG_CHECKING([for --with-builtin-hashlib-hashes])
73247322
AC_ARG_WITH(
73257323
[builtin-hashlib-hashes],
@@ -7336,7 +7334,8 @@ AC_ARG_WITH(
73367334

73377335
AC_MSG_RESULT([$with_builtin_hashlib_hashes])
73387336
AC_DEFINE_UNQUOTED([PY_BUILTIN_HASHLIB_HASHES],
7339-
["$with_builtin_hashlib_hashes"])
7337+
["$with_builtin_hashlib_hashes"],
7338+
[enabled builtin hash modules])
73407339

73417340
as_save_IFS=$IFS
73427341
IFS=,

0 commit comments

Comments
 (0)