diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-01-16 22:51:49 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-01-16 22:51:49 +0000 |
commit | c401b55a7719b7be446183cdb33c76d71c3b5d88 (patch) | |
tree | 9751937a7efdfa8ceb709f0dc426984410832948 | |
parent | 1c02b2a55e4a455f9e854278dd658dc826b4b169 (diff) | |
download | gdb-c401b55a7719b7be446183cdb33c76d71c3b5d88.zip gdb-c401b55a7719b7be446183cdb33c76d71c3b5d88.tar.gz gdb-c401b55a7719b7be446183cdb33c76d71c3b5d88.tar.bz2 |
* configure.ac: Provide prerequisite headers when checking
<term.h>.
* configure: Regenerate.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/configure.ac | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 521d0f8..76832ef 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2005-01-16 Mark Kettenis <kettenis@gnu.org> + * configure.ac: Provide prerequisite headers when checking + <term.h>. + * configure: Regenerate. + * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h" and "bsd-uthread.h". (amd64fbsd_jmp_buf_reg_offset): New variable. diff --git a/gdb/configure.ac b/gdb/configure.ac index 55e19c4..7794d3b 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -409,7 +409,12 @@ case $host_os in fi ;; esac AC_CHECK_HEADERS(curses.h cursesX.h ncurses.h ncurses/ncurses.h) -AC_CHECK_HEADERS(ncurses/term.h term.h) +AC_CHECK_HEADERS(ncurses/term.h) +AC_CHECK_HEADERS(term.h, [], [], +[#if HAVE_CURSES_H +# include <curses.h> +#endif +]) # FIXME: kettenis/20030102: In most cases we include these # unconditionally, so what's the point in checking these? |