mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Ticket #4462: FTBFS if ncurses used without --with-ncurses-includes= configure parameter.
If ncurses location is not specified by configure parameters like '--with-ncurses-includes=/some/dir' then automatic detection at compiler default location is used. With automatic detection the header 'ncurses/term.h' is not checked therefore macro HAVE_NCURSES_TERM_H is not defined. Closes MidnightCommander/mc#186. Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
08be8094ca
commit
1f732f0a14
@ -134,6 +134,8 @@ AC_DEFUN([mc_WITH_NCURSES], [
|
||||
AC_MSG_ERROR([Cannot find ncurses header file])
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADERS([ncurses/term.h])
|
||||
|
||||
screen_type=ncurses
|
||||
screen_msg="NCurses"
|
||||
AC_DEFINE(USE_NCURSES, 1,
|
||||
|
Loading…
Reference in New Issue
Block a user