summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-13 15:04:14 (GMT)
committerXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-13 15:04:14 (GMT)
commite13c3201fb66c4c211b4ebb7604d1435bedc1015 (patch)
treed088f408f51f9b32a82c7e6a2d29c47b0d6dd1d1 /configure.ac
parent3a4e989324cc1f75c9f749c9e1c20de2f43df6e3 (diff)
downloadcpython-e13c3201fb66c4c211b4ebb7604d1435bedc1015.zip
cpython-e13c3201fb66c4c211b4ebb7604d1435bedc1015.tar.gz
cpython-e13c3201fb66c4c211b4ebb7604d1435bedc1015.tar.bz2
Issue #28190: Cross compiling the _curses module does not use anymore
/usr/include/ncursesw as a headers search path.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4ab1892..af54092 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4885,7 +4885,9 @@ fi
# first curses header check
ac_save_cppflags="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
+if test "$cross_compiling" = no; then
+ CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
+fi
AC_CHECK_HEADERS(curses.h ncurses.h)