- Add even more term libs and prefer ncurses over the rest.

This commit is contained in:
gbeauche 2002-03-18 13:30:07 +00:00
parent faa3d07211
commit 097b4509ee

View File

@ -89,7 +89,12 @@ if [[ "x$WANT_MON" = "xyes" ]]; then
AC_DEFINE(ENABLE_MON)
MONSRCS="$mon_srcdir/mon.cpp $mon_srcdir/mon_6502.cpp $mon_srcdir/mon_z80.cpp $mon_srcdir/mon_cmd.cpp $mon_srcdir/mon_disass.cpp $mon_srcdir/mon_ppc.cpp $mon_srcdir/mon_lowmem.cpp $mon_srcdir/disass/floatformat.c $mon_srcdir/disass/i386-dis.c $mon_srcdir/disass/m68k-dis.c $mon_srcdir/disass/m68k-opc.c"
CXXFLAGS="$CXXFLAGS -I$mon_srcdir -I$mon_srcdir/disass"
AC_CHECK_LIB(termcap, tputs)
AC_CHECK_LIB(ncurses, tgetent, ,
AC_CHECK_LIB(termcap, tgetent, ,
AC_CHECK_LIB(termlib, tgetent, ,
AC_CHECK_LIB(terminfo, tgetent, ,
AC_CHECK_LIB(Hcurses, tgetent, ,
AC_CHECK_LIB(curses, tgetent))))))
AC_CHECK_LIB(readline, readline)
AC_CHECK_HEADERS(readline.h history.h readline/readline.h readline/history.h)
else