summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDavide Rizzo <sorcio@gmail.com>2023-11-13 13:36:50 (GMT)
committerGitHub <noreply@github.com>2023-11-13 13:36:50 (GMT)
commitd2f305dfd183025a95592319b280fcf4b20c8694 (patch)
tree9b942ddcdfe8771839eb05c957d3fc387974197a /configure
parent1447af797048e62049d00bbd96d8daee3929f527 (diff)
downloadcpython-d2f305dfd183025a95592319b280fcf4b20c8694.zip
cpython-d2f305dfd183025a95592319b280fcf4b20c8694.tar.gz
cpython-d2f305dfd183025a95592319b280fcf4b20c8694.tar.bz2
gh-111460: Restore ncurses widechar support on macOS (#111878)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 893f527..dd7a5a3 100755
--- a/configure
+++ b/configure
@@ -25528,7 +25528,7 @@ fi
fi
CURSES_CFLAGS=$(echo $CURSES_CFLAGS | sed 's/-D_XOPEN_SOURCE=600//g')
-if test "$have_curses" = no -a "$ac_sys_system" = "Darwin"; then
+if test "$have_curses" != no -a "$ac_sys_system" = "Darwin"; then
as_fn_append CURSES_CFLAGS " -D_XOPEN_SOURCE_EXTENDED=1"
printf "%s\n" "#define HAVE_NCURSESW 1" >>confdefs.h