check for pdcurses as well (for mingw: first port I found:) and correct the

check for curses.
This commit is contained in:
Bill Currie 2001-07-11 23:09:10 +00:00
parent 7ca4383790
commit 654448a6cd

View file

@ -272,9 +272,12 @@ AC_SUBST(DL_LIBS)
AC_CHECK_LIB(ncurses, initscr,
CURSES_LIBS=-lncurses,
AC_CHECK_LIB(curses, initscr,
CURSES_LIBS=-ncurses,
CURSES_LIBS=
AC_CHECK_LIB(pdcurses, initscr,
CURSES_LIBS=-lpdcurses,
AC_CHECK_LIB(curses, initscr,
CURSES_LIBS=-lcurses,
CURSES_LIBS=
)
)
)
AC_SUBST(CURSES_LIBS)