Fixed checking for libncurses as well as libcurses
This commit is contained in:
+2
-1
@@ -27,7 +27,8 @@ else
|
|||||||
;;
|
;;
|
||||||
curses)
|
curses)
|
||||||
AC_CHECK_LIB(curses, main, LIBCURSES="-lcurses",
|
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"
|
DRIVERS="$DRIVERS curses_drv.o"
|
||||||
AC_DEFINE(CURSES_DRV)
|
AC_DEFINE(CURSES_DRV)
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user