Fixed checking for libncurses as well as libcurses

This commit is contained in:
ban
1999-12-15 23:48:20 +00:00
parent a783963964
commit ca099d72cc
+2 -1
View File
@@ -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)
;;