summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJonathan Protzenko <protz@microsoft.com>2024-08-06 23:31:39 (GMT)
committerGitHub <noreply@github.com>2024-08-06 23:31:39 (GMT)
commitb5e142ba7c2063efe9bb8065c3b0bad33e2a9afa (patch)
tree7005b4dc7a1a650a3413ed923fd10deb1cdb089d /configure.ac
parent4767a6e31c0550836b2af45d27e374e721f0c4e6 (diff)
downloadcpython-b5e142ba7c2063efe9bb8065c3b0bad33e2a9afa.zip
cpython-b5e142ba7c2063efe9bb8065c3b0bad33e2a9afa.tar.gz
cpython-b5e142ba7c2063efe9bb8065c3b0bad33e2a9afa.tar.bz2
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 62ed812..fb40607 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7403,8 +7403,6 @@ AC_DEFINE([PY_SSL_DEFAULT_CIPHERS], [1])
# builtin hash modules
default_hashlib_hashes="md5,sha1,sha2,sha3,blake2"
-AC_DEFINE([PY_BUILTIN_HASHLIB_HASHES], [], [enabled builtin hash modules]
-)
AC_MSG_CHECKING([for --with-builtin-hashlib-hashes])
AC_ARG_WITH(
[builtin-hashlib-hashes],
@@ -7421,7 +7419,8 @@ AC_ARG_WITH(
AC_MSG_RESULT([$with_builtin_hashlib_hashes])
AC_DEFINE_UNQUOTED([PY_BUILTIN_HASHLIB_HASHES],
- ["$with_builtin_hashlib_hashes"])
+ ["$with_builtin_hashlib_hashes"],
+ [enabled builtin hash modules])
as_save_IFS=$IFS
IFS=,