--- duc-1.4.1/configure.ac 2016-03-12 09:07:07.000000000 +0100 +++ duc-1.4.1/configure.ac 2017-11-09 09:19:44.284614326 +0100 @@ -130,8 +130,8 @@ if test "${enable_ui}" = "yes"; then AC_DEFINE([ENABLE_UI], [1], [Enable ui]) - AC_CHECK_LIB([ncursesw], [tputs],, [ - AC_CHECK_LIB([ncurses], [tputs],, [ + AC_CHECK_LIB([ncursesw -ltinfo], [tputs],, [ + AC_CHECK_LIB([ncurses -ltinfo], [tputs],, [ AC_MSG_ERROR([ The ncurses library was not found, which is needed for ui support. Either install the ncurses development libraries, or compile without ui support (--disable-ui) --- duc-1.4.1/src/duc/cmd-ui.c 2016-03-09 09:06:58.000000000 +0100 +++ duc-1.4.1/src/duc/cmd-ui.c 2017-11-09 13:51:56.828722792 +0100 @@ -26,6 +26,9 @@ #include #endif #endif +#ifdef HAVE_LIBNCURSESW__LTINFO +#define HAVE_LIBNCURSESW 1 +#endif #ifdef HAVE_LIBNCURSESW #include #endif