mirror of https://github.com/xzeldon/htop.git
netbsd: Support building with libcurses
Right now Unicode support must be disabled, because htop peeks into the ncurses cchar_t struct with Unicode enabled. NetBSD's cchar_t has different contents. Partially fixes #660 Signed-off-by: Nia Alarie <nia@NetBSD.org>
This commit is contained in:
parent
4865e643ad
commit
09c7e3e136
|
@ -329,8 +329,9 @@ else
|
||||||
HTOP_CHECK_SCRIPT([ncurses], [wnoutrefresh], [HAVE_LIBNCURSES], [ncurses5-config],
|
HTOP_CHECK_SCRIPT([ncurses], [wnoutrefresh], [HAVE_LIBNCURSES], [ncurses5-config],
|
||||||
HTOP_CHECK_LIB([ncurses6], [doupdate], [HAVE_LIBNCURSES],
|
HTOP_CHECK_LIB([ncurses6], [doupdate], [HAVE_LIBNCURSES],
|
||||||
HTOP_CHECK_LIB([ncurses], [doupdate], [HAVE_LIBNCURSES],
|
HTOP_CHECK_LIB([ncurses], [doupdate], [HAVE_LIBNCURSES],
|
||||||
AC_MSG_ERROR([can not find required library libncurses])
|
HTOP_CHECK_LIB([curses], [doupdate], [HAVE_LIBNCURSES],
|
||||||
))))
|
AC_MSG_ERROR([can not find required curses/ncurses library])
|
||||||
|
)))))
|
||||||
|
|
||||||
AC_CHECK_HEADERS([curses.h], [],
|
AC_CHECK_HEADERS([curses.h], [],
|
||||||
[AC_CHECK_HEADERS([ncurses/curses.h], [],
|
[AC_CHECK_HEADERS([ncurses/curses.h], [],
|
||||||
|
|
Loading…
Reference in New Issue