* 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:
parent
8af859d742
commit
3b78cdbb32
7 changed files with 359 additions and 309 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2004-11-08 Mark Kettenis <kettenis@gnu.org>
|
2004-11-08 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* m68kbsd-nat.c: Include "inf-ptrace.h".
|
* m68kbsd-nat.c: Include "inf-ptrace.h".
|
||||||
|
|
|
@ -314,6 +314,9 @@
|
||||||
/* Define if you have the <ncurses/ncurses.h> header file. */
|
/* Define if you have the <ncurses/ncurses.h> header file. */
|
||||||
#undef HAVE_NCURSES_NCURSES_H
|
#undef HAVE_NCURSES_NCURSES_H
|
||||||
|
|
||||||
|
/* Define if you have the <ncurses/term.h> header file. */
|
||||||
|
#undef HAVE_NCURSES_TERM_H
|
||||||
|
|
||||||
/* Define if you have the <ndir.h> header file. */
|
/* Define if you have the <ndir.h> header file. */
|
||||||
#undef HAVE_NDIR_H
|
#undef HAVE_NDIR_H
|
||||||
|
|
||||||
|
|
638
gdb/configure
vendored
638
gdb/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -394,7 +394,8 @@ case $host_os in
|
||||||
Solaris 2.[789] when using GCC. ]])
|
Solaris 2.[789] when using GCC. ]])
|
||||||
fi ;;
|
fi ;;
|
||||||
esac
|
esac
|
||||||
AC_CHECK_HEADERS(curses.h cursesX.h ncurses.h ncurses/ncurses.h term.h)
|
AC_CHECK_HEADERS(curses.h cursesX.h ncurses.h ncurses/ncurses.h)
|
||||||
|
AC_CHECK_HEADERS(ncurses/term.h term.h)
|
||||||
|
|
||||||
# FIXME: kettenis/20030102: In most cases we include these
|
# FIXME: kettenis/20030102: In most cases we include these
|
||||||
# unconditionally, so what's the point in checking these?
|
# unconditionally, so what's the point in checking these?
|
||||||
|
|
|
@ -32,4 +32,10 @@
|
||||||
#include <curses.h>
|
#include <curses.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined (HAVE_NCURSES_TERM_H)
|
||||||
|
#include <ncurses/term.h>
|
||||||
|
#elif defined (HAVE_TERM_H)
|
||||||
|
#include <term.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* gdb_curses.h */
|
#endif /* gdb_curses.h */
|
||||||
|
|
|
@ -44,9 +44,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#ifdef HAVE_TERM_H
|
|
||||||
#include <term.h>
|
|
||||||
#endif
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#if 0
|
#if 0
|
||||||
|
|
|
@ -57,12 +57,7 @@
|
||||||
|
|
||||||
#include <sys/param.h> /* For MAXPATHLEN */
|
#include <sys/param.h> /* For MAXPATHLEN */
|
||||||
|
|
||||||
#ifdef HAVE_CURSES_H
|
#include "gdb_curses.h"
|
||||||
#include <curses.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_TERM_H
|
|
||||||
#include <term.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "readline/readline.h"
|
#include "readline/readline.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue