bpo-34121: Fix detection of C11 atomic support on clang. (GH-8288)
diff --git a/configure.ac b/configure.ac
index 99aca665..f33fd51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5347,7 +5347,6 @@
AC_LANG_SOURCE([[
#include <stdatomic.h>
atomic_int value = ATOMIC_VAR_INIT(1);
- _Atomic void *py_atomic_address = (void*) &value;
int main() {
int loaded_value = atomic_load(&value);
return 0;
@@ -5359,7 +5358,7 @@
if test "$have_stdatomic_h" = yes; then
AC_DEFINE(HAVE_STD_ATOMIC, 1,
- [Has stdatomic.h, atomic_int and _Atomic void* types work])
+ [Has stdatomic.h with atomic_int])
fi
# Check for GCC >= 4.7 __atomic builtins