diff options
author | nia <nia@NetBSD.org> | 2021-07-13 17:53:47 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-07-13 20:42:30 +0200 |
commit | 09c7e3e136d30e00759dc28b4614df61b869cb71 (patch) | |
tree | 97dfcbc358d262e4e544d63ae9a4dc7350025811 | |
parent | 4865e643ada9229622bc91ab940f107371ec2ac4 (diff) |
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>
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index e9900e75..bb92816f 100644 --- a/configure.ac +++ b/configure.ac @@ -329,8 +329,9 @@ else HTOP_CHECK_SCRIPT([ncurses], [wnoutrefresh], [HAVE_LIBNCURSES], [ncurses5-config], HTOP_CHECK_LIB([ncurses6], [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([ncurses/curses.h], [], |