blob: 99f6a8593a14a97a9c90a78011df209360dc590b [file] [log] [blame]
diff -Naur Python-3.8.0-orig/configure.ac Python-3.8.0/configure.ac
--- Python-3.8.0-orig/configure.ac 2019-10-22 10:04:22.223897300 +0300
+++ Python-3.8.0/configure.ac 2019-10-22 10:04:26.170704200 +0300
@@ -5293,9 +5293,15 @@
# first curses header check
ac_save_cppflags="$CPPFLAGS"
-if test "$cross_compiling" = no; then
- CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
-fi
+case $host_os in
+ mingw*)
+ ;;
+ *)
+ if test "$cross_compiling" = no; then
+ CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
+ fi
+ ;;
+esac
AC_CHECK_HEADERS(curses.h ncurses.h)