blob: 59bf520622b90100155b9d8499e62116b61f2861 [file] [log] [blame]
From 430aee7255b2ebf1947c8670db95f017e41aecc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?=
<alexey.pawlow@gmail.com>
Date: Thu, 17 Jun 2021 18:52:09 +0530
Subject: [PATCH 068/N] dont include system ncurses path
---
configure.ac | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 28b69be..25aecf9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5479,9 +5479,15 @@ fi
# 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)
--
2.32.0