summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-11-14 01:59:01 (GMT)
committerGitHub <noreply@github.com>2023-11-14 01:59:01 (GMT)
commitd34650e7409b6a7cc64d7a118e4500c2f3cdbcf3 (patch)
treec13cba10c3aa4d989e7db2c9665a85a8f93f4b36 /configure
parent02fdb420186295c6435b23f7e030ae989a0e42ac (diff)
downloadcpython-d34650e7409b6a7cc64d7a118e4500c2f3cdbcf3.zip
cpython-d34650e7409b6a7cc64d7a118e4500c2f3cdbcf3.tar.gz
cpython-d34650e7409b6a7cc64d7a118e4500c2f3cdbcf3.tar.bz2
[3.12] gh-111460: Restore ncurses widechar support on macOS (GH-111878) (gh-112034)
gh-111460: Restore ncurses widechar support on macOS (GH-111878) (cherry picked from commit d2f305dfd183025a95592319b280fcf4b20c8694) Co-authored-by: Davide Rizzo <sorcio@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 7c32507..778eacf 100755
--- a/configure
+++ b/configure
@@ -26079,7 +26079,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