diff options
author | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-12-13 15:04:14 (GMT) |
---|---|---|
committer | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-12-13 15:04:14 (GMT) |
commit | e13c3201fb66c4c211b4ebb7604d1435bedc1015 (patch) | |
tree | d088f408f51f9b32a82c7e6a2d29c47b0d6dd1d1 /configure.ac | |
parent | 3a4e989324cc1f75c9f749c9e1c20de2f43df6e3 (diff) | |
download | cpython-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.ac | 4 |
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) |