mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* configure.in: Add <ncurses/ncurses.h> to the list of possible
curses headers. * configure, config.in: Regenerate. * gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include <ncurses/ncurses.h>.
This commit is contained in:
parent
dd8c8ee780
commit
a6ed5501f7
@ -1,5 +1,11 @@
|
||||
2004-08-15 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* configure.in: Add <ncurses/ncurses.h> to the list of possible
|
||||
curses headers.
|
||||
* configure, config.in: Regenerate.
|
||||
* gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include
|
||||
<ncurses/ncurses.h>.
|
||||
|
||||
* config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define.
|
||||
* config/nm-nbsd.h: Update copyright year.
|
||||
(PTRACE_ARG3_TYPE): Remove define.
|
||||
|
@ -305,6 +305,9 @@
|
||||
/* Define if you have the <ncurses.h> header file. */
|
||||
#undef HAVE_NCURSES_H
|
||||
|
||||
/* Define if you have the <ncurses/ncurses.h> header file. */
|
||||
#undef HAVE_NCURSES_NCURSES_H
|
||||
|
||||
/* Define if you have the <ndir.h> header file. */
|
||||
#undef HAVE_NDIR_H
|
||||
|
||||
|
2
gdb/configure
vendored
2
gdb/configure
vendored
@ -5664,7 +5664,7 @@ EOF
|
||||
|
||||
fi ;;
|
||||
esac
|
||||
for ac_hdr in curses.h cursesX.h ncurses.h term.h
|
||||
for ac_hdr in curses.h cursesX.h ncurses.h ncurses/ncurses.h term.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
|
@ -430,7 +430,7 @@ case $host_os in
|
||||
Solaris 2.[789] when using GCC. ]])
|
||||
fi ;;
|
||||
esac
|
||||
AC_CHECK_HEADERS(curses.h cursesX.h ncurses.h term.h)
|
||||
AC_CHECK_HEADERS(curses.h cursesX.h ncurses.h ncurses/ncurses.h term.h)
|
||||
|
||||
# FIXME: kettenis/20030102: In most cases we include these
|
||||
# unconditionally, so what's the point in checking these?
|
||||
|
@ -22,7 +22,9 @@
|
||||
#ifndef GDB_CURSES_H
|
||||
#define GDB_CURSES_H 1
|
||||
|
||||
#if defined (HAVE_NCURSES_H)
|
||||
#if defined (HAVE_NCURSES_NCURSES_H)
|
||||
#include <ncurses/ncurses.h>
|
||||
#elif defined (HAVE_NCURSES_H)
|
||||
#include <ncurses.h>
|
||||
#elif defined (HAVE_CURSESX_H)
|
||||
#include <cursesX.h>
|
||||
@ -30,4 +32,4 @@
|
||||
#include <curses.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif /* gdb_curses.h */
|
||||
|
Loading…
Reference in New Issue
Block a user