* first check for ncurses, then curses (and not the other way)

This commit is contained in:
ban
1999-12-16 09:27:23 +00:00
parent 85578af792
commit 14df3acb82
+2 -2
View File
@@ -30,8 +30,8 @@ else
AC_DEFINE(SLI_DRV)
;;
curses)
AC_CHECK_LIB(curses, main, LIBCURSES="-lcurses",
AC_CHECK_LIB(ncurses, main, LIBCURSES="-lncurses",
AC_CHECK_LIB(ncurses, main, LIBCURSES="-lncurses",
AC_CHECK_LIB(curses, main, LIBCURSES="-lcurses",
AC_MSG_ERROR([The curses driver needs the curses library])))
DRIVERS="$DRIVERS curses_drv.o"
AC_DEFINE(CURSES_DRV)