summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2023-12-12 00:04:48 (GMT)
committerGitHub <noreply@github.com>2023-12-12 00:04:48 (GMT)
commitfdee7b7b3e15931d58f07e5449de2e55b4d48b05 (patch)
treee04dca3c8005a42f1d5973938e6e41c64a6a6a26 /configure
parentfed294c6453527addd1644633849e2d8492058c5 (diff)
downloadcpython-fdee7b7b3e15931d58f07e5449de2e55b4d48b05.zip
cpython-fdee7b7b3e15931d58f07e5449de2e55b4d48b05.tar.gz
cpython-fdee7b7b3e15931d58f07e5449de2e55b4d48b05.tar.bz2
gh-112532: Require mimalloc in `--disable-gil` builds (gh-112883)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 5f880d6..c448644 100755
--- a/configure
+++ b/configure
@@ -16891,6 +16891,8 @@ printf "%s\n" "#define WITH_MIMALLOC 1" >>confdefs.h
MIMALLOC_HEADERS='$(MIMALLOC_HEADERS)'
+elif test "$disable_gil" = "yes"; then
+ as_fn_error $? "--disable-gil requires mimalloc memory allocator (--with-mimalloc)." "$LINENO" 5
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_mimalloc" >&5