* 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

@@ -57,12 +57,7 @@
#include <sys/param.h> /* For MAXPATHLEN */
#ifdef HAVE_CURSES_H
#include <curses.h>
#endif
#ifdef HAVE_TERM_H
#include <term.h>
#endif
#include "gdb_curses.h"
#include "readline/readline.h"