* configure.in: Check for ncurses/term.h.

* gdb_curses.h: Include term.h here, prefering ncurses/term.h.
	* utils.c: Include gdb_curses.h instead of curses.h and term.h.
	* tui/tui.c: Don't include term.h.
	* configure, config.in: Rebuilt.
This commit is contained in:
Dave Anglin
2004-11-09 00:59:03 +00:00
parent 8af859d742
commit 3b78cdbb32
7 changed files with 359 additions and 309 deletions

View File

@@ -32,4 +32,10 @@
#include <curses.h>
#endif
#if defined (HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined (HAVE_TERM_H)
#include <term.h>
#endif
#endif /* gdb_curses.h */