summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJoshua Root <jmr@macports.org>2024-04-17 09:26:10 (GMT)
committerGitHub <noreply@github.com>2024-04-17 09:26:10 (GMT)
commit8515fd79fef1ac16d7848cec5ec1797294cb5366 (patch)
tree28cc3745dea1506bd2bb463bf21777ef46c67640 /Misc
parentf74e51229c83e3265f905dc15283bfe0ec1a659e (diff)
downloadcpython-8515fd79fef1ac16d7848cec5ec1797294cb5366.zip
cpython-8515fd79fef1ac16d7848cec5ec1797294cb5366.tar.gz
cpython-8515fd79fef1ac16d7848cec5ec1797294cb5366.tar.bz2
gh-117845: Detect libedit hook function signature in configure (#117870)
Older libedit versions (like Apple's) use a different type signature for rl_startup_hook and rl_pre_input_hook. Add a configure check to determine which signature is accepted by introducing the Py_RL_STARTUP_HOOK_TAKES_ARGS macro in pyconfig.h.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Build/2024-04-15-08-35-06.gh-issue-117845.IowzyW.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2024-04-15-08-35-06.gh-issue-117845.IowzyW.rst b/Misc/NEWS.d/next/Build/2024-04-15-08-35-06.gh-issue-117845.IowzyW.rst
new file mode 100644
index 0000000..02d62da
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2024-04-15-08-35-06.gh-issue-117845.IowzyW.rst
@@ -0,0 +1 @@
+Fix building against recent libedit versions by detecting readline hook signatures in :program:`configure`.