--- a/aclocal.m4 +++ b/aclocal.m4 @@ -34,6 +34,7 @@ fi fi LIBS="$mp_save_LIBS" + AC_SEARCH_LIBS([stdscr], [tinfo curses], [CURSES_LIB="$CURSES_LIB $ac_res"],) ])dnl