summaryrefslogtreecommitdiffstats
path: root/configure
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
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')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 82323f5..43f342e 100755
--- a/configure
+++ b/configure
@@ -15690,7 +15690,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
for ac_header in curses.h ncurses.h
do :