summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavide Rizzo <sorcio@gmail.com>2024-05-04 21:41:47 (GMT)
committerGitHub <noreply@github.com>2024-05-04 21:41:47 (GMT)
commit08d169f14a715ceaae3d563ced2ff1633d009359 (patch)
tree2d7f24665ab85a8ae014d52573ce4b3d09a95fc3 /configure.ac
parent291cfa454b9c5b677c955aaf53fab91f0186b6fa (diff)
downloadcpython-08d169f14a715ceaae3d563ced2ff1633d009359.zip
cpython-08d169f14a715ceaae3d563ced2ff1633d009359.tar.gz
cpython-08d169f14a715ceaae3d563ced2ff1633d009359.tar.bz2
gh-109617: fix ncurses incompatibility on macOS with Xcode 15 (#111258)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c55e33a..ae59451 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6713,7 +6713,10 @@ AC_DEFUN([PY_CHECK_CURSES_FUNC],
[py_var],
[AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
- [@%:@include <curses.h>], [
+ [
+ #define NCURSES_OPAQUE 0
+ #include <curses.h>
+ ], [
#ifndef $1
void *x=$1
#endif