Skip to content

Commit b5e142b

Browse files
authored
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.
1 parent 4767a6e commit b5e142b

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
@@ -7403,8 +7403,6 @@ AC_DEFINE([PY_SSL_DEFAULT_CIPHERS], [1])
74037403

74047404
# builtin hash modules
74057405
default_hashlib_hashes="md5,sha1,sha2,sha3,blake2"
7406-
AC_DEFINE([PY_BUILTIN_HASHLIB_HASHES], [], [enabled builtin hash modules]
7407-
)
74087406
AC_MSG_CHECKING([for --with-builtin-hashlib-hashes])
74097407
AC_ARG_WITH(
74107408
[builtin-hashlib-hashes],
@@ -7421,7 +7419,8 @@ AC_ARG_WITH(
74217419

74227420
AC_MSG_RESULT([$with_builtin_hashlib_hashes])
74237421
AC_DEFINE_UNQUOTED([PY_BUILTIN_HASHLIB_HASHES],
7424-
["$with_builtin_hashlib_hashes"])
7422+
["$with_builtin_hashlib_hashes"],
7423+
[enabled builtin hash modules])
74257424

74267425
as_save_IFS=$IFS
74277426
IFS=,

0 commit comments

Comments
 (0)