mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Make curses.h inclusion conditional as in the original patch #1012280.
Backported to 2.3.
This commit is contained in:
parent
ae2830c55c
commit
5d52e781d9
2 changed files with 19 additions and 22 deletions
|
@ -968,7 +968,11 @@ AC_HEADER_DIRENT
|
|||
AC_HEADER_MAJOR
|
||||
|
||||
# On Solaris, term.h requires curses.h
|
||||
AC_CHECK_HEADERS(term.h,,,[#include <curses.h>])
|
||||
AC_CHECK_HEADER(term.h,,,[
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
])
|
||||
|
||||
# checks for typedefs
|
||||
was_it_defined=no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue