--- a/m4/ax_with_curses.m4 2019-07-28 08:49:13.670014444 -0500 +++ b/m4/ax_with_curses.m4 2019-07-28 08:46:32.280013473 -0500 @@ -216,6 +216,8 @@ ax_cv_curses=yes ax_cv_curses_which=ncursesw CURSES_LIB="-lncursesw" + temp_lib=`echo $ax_saved_LIBS|sed 's/tinfo/tinfow/'` + ax_saved_LIBS=$temp_lib AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present]) AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present])