diff --git a/acinclude.m4 b/acinclude.m4 index 9941081..98c4e70 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -27,7 +27,8 @@ else ;; curses) AC_CHECK_LIB(curses, main, LIBCURSES="-lcurses", - AC_MSG_ERROR([The curses driver needs the curses library])) + AC_CHECK_LIB(ncurses, main, LIBCURSES="-lncurses", + AC_MSG_ERROR([The curses driver needs the curses library]))) DRIVERS="$DRIVERS curses_drv.o" AC_DEFINE(CURSES_DRV) ;;