Skip to content

Commit ad03484

Browse files
msprotzblhsing
authored andcommitted
pythongh-122571: Remove duplicate definition of PY_BUILTIN_HASHLIB_HASHES in configure.ac (python#122572)
The redefinition in confdefs.h can cause issues with the AX_CHECK_COMPILE_FLAG macro.
1 parent a68e530 commit ad03484

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

74327432
# builtin hash modules
74337433
default_hashlib_hashes="md5,sha1,sha2,sha3,blake2"
7434-
AC_DEFINE([PY_BUILTIN_HASHLIB_HASHES], [], [enabled builtin hash modules]
7435-
)
74367434
AC_MSG_CHECKING([for --with-builtin-hashlib-hashes])
74377435
AC_ARG_WITH(
74387436
[builtin-hashlib-hashes],
@@ -7449,7 +7447,8 @@ AC_ARG_WITH(
74497447

74507448
AC_MSG_RESULT([$with_builtin_hashlib_hashes])
74517449
AC_DEFINE_UNQUOTED([PY_BUILTIN_HASHLIB_HASHES],
7452-
["$with_builtin_hashlib_hashes"])
7450+
["$with_builtin_hashlib_hashes"],
7451+
[enabled builtin hash modules])
74537452

74547453
as_save_IFS=$IFS
74557454
IFS=,

0 commit comments

Comments
 (0)